Add panel containers to standalone layouts

What does this MR do and why?

Adds a panel container (gl-@container/panel) to the devise and errors layouts and to the Jira Connect app's <main>, matching the main app layouts.

  • These layouts have no panel container, so their container-query styles only work through GitLab UI's media-query fallback. That fallback is a container queries migration leftover we plan to remove from GitLab UI. This MR makes these layouts ready for that.
  • No visual change on sign-in or error pages today. The fallback still applies because these layouts don't set with-gl-container-queries.
  • Fixes Jira Connect: the group avatar in the subscriptions list (@sm/panel:gl-flex) has been hidden at every width since 82f245f5 because there was no panel container.

References

Screenshots or screen recordings

Jira Connect subscriptions list at 1024px. Group avatars are back. Sign-in and error pages are unchanged.

Before After
jira_before jira_after

How to set up and validate locally

  1. Visit /users/sign_in at a viewport narrower than 576px. The page looks the same as on master.
  2. In devtools, add with-gl-container-queries to <html> to simulate the fallback removal. On master the top margin of main.content drops to 0. With this MR it stays at 20px.
  3. Do the same on a 404 page (sign in, then visit a missing project). At 576px and wider, the footer links stay inline instead of stacking.
Validation

Checked in GDK by comparing computed styles with and without the html class (light build, 375px and 1024/1280px):

Page Rule master + class This MR + class
Sign-in, sign-up, password, confirmation .container .content margin at < 576px 0px (broken) 20px
Errors .error-nav li, .form-inline-flex at ≥ 576px block / column (broken) inline-block / row
Jira Connect GitLab UI b-table-stacked-md at < 768px not stacked (broken) stacked
Jira Connect group avatar at ≥ 576px hidden shown (today and after)

Sign-in element boxes are identical with and without the container at 375px and 1280px. In Jira Connect the container sits on <main>, not in the layout, so the fixed header and user link stay outside it. oauth_error needs no change: its only template uses neither affected class.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

🤖 Generated with Claude Code

Edited by Paul Gascou-Vaillancourt

Merge request reports

Loading
Loading