fix(layout): make the console responsive on mobile
Merged
RE
1d ago+934+934+012345678901234567890123456789-748-748-012345678901234567890123456789
Summary
Issue: Original work in #3257 and #3258
This is the first PR of the revised mobile Console split from #3257 and #3258.
- Adapt the shell, settings pages, forms, toolbars, tables, dialogs, and editors below
md. - Remove the fixed 712px body minimum so the Console can use the actual viewport. Keep all Audit Logs column filters available in a horizontally scrollable table.
- Use CSS for touch sizing and hover-only affordances, dynamic viewport heights, and sticky actions.
Review this PR first against staging. Check 360px and 390px widths, then compare desktop at 1024px and 1440px. Start with settings navigation, Audit Logs filters, logs, and modal forms.
Screenshots / Recordings
Original combined preview (from the source branches).
Testing
- Changes tested locally in the relevant Console's pages and Storybooks
-
yarn testoryarn test -u(if you need to regenerate snapshots) - Formatting checked with Yarn and Prettier
-
yarn lint
PR Checklist
- I followed naming, styling, and TypeScript rules (see
.cursor/rules) - I performed a self-review (diff inspected, dead code removed)
- I titled the PR using Conventional Commits with a scope when possible (e.g.
feat(service): add new Terraform service) - required for semantic-release - I only kept necessary comments, written in English (watch for useless AI comments)
- I involved a designer to validate UI changes if I am not a designer
- I covered new business logic with tests (unit)
- I confirmed CI is green (Codecov red can be accepted)
- I reviewed and executed locally any AI-assisted code
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Summary by cubic
Makes the Console usable on mobile screens below the md breakpoint and removes the fixed 712px body minimum so the app uses the actual viewport width.
- Settings sidebars stack above content on mobile with sticky actions for forms.
- Dense tables (Audit Logs, environments, workloads, members, cluster metrics) keep all data via horizontal scroll or hide secondary columns below
md. - Search is now available in the header on mobile; the Feedback button is hidden below
md. - Breadcrumbs keep a minimum width and drop the fixed cap on the current scope so navigation stays usable on narrow screens.
- Cluster cards, Karpenter grids, and panel event sidebars stack or wrap below
mdinstead of clipping. - Excess padding is trimmed on narrow screens, and touch targets are enlarged for coarse pointers.
- Copy-style hover-only affordances are always visible on touch devices that have no hover.
- Dynamic viewport heights use
dvhinstead ofvhso mobile browser chrome doesn't clip content.
Testing
Review against staging at 360px, 390px, 1024px, and 1440px. Start with settings navigation, Audit Logs filters, logs, and modal forms.