Skip to content

fix(site): stack settings layouts on mobile#27334

Merged
ibetitsmike merged 1 commit into
mainfrom
mike/codagt-828-settings-mobile-stack
Jul 20, 2026
Merged

fix(site): stack settings layouts on mobile#27334
ibetitsmike merged 1 commit into
mainfrom
mike/codagt-828-settings-mobile-stack

Conversation

@ibetitsmike

Copy link
Copy Markdown
Collaborator

Problem

On mobile viewports every settings shell renders a fixed 240px sidebar next to the content in a non-responsive flex row, leaving the content almost no width. The MCP Servers page is worst: its fixed-layout table cannot shrink, so the whole page collapses into a single cramped column.

Changes

  • Sidebar component: full width below the lg breakpoint, w-60 at lg+.
  • Six settings layouts (AI, Deployment, Organization, User, Workspace, Template) stack the nav above the content below lg and keep the previous side-by-side spacing at lg+. Content wrappers get min-w-0 so flex children cannot force overflow, and horizontal padding tightens on small screens.
  • MCP servers table gets min-w-[640px] so the existing overflow-auto wrapper provides horizontal scrolling instead of colliding column headers.

Tailwind class changes only; no component or behavior changes.

Testing

  • pnpm check and pnpm run lint:types pass.
  • Dogfood UAT on a dev deployment: at 390x844 the MCP Servers, Deployment, Account, and Template settings pages stack nav-above-content with no horizontal body overflow and a scrollable MCP table; boundary verified stacked at 1023px and side-by-side at 1024px; at 1440x900 the layouts are pixel-identical to before (240px sidebar, 112px gap, 40px padding).

Closes CODAGT-828.

Created by Mux, an AI agent, on Mike's behalf.

@linear-code

linear-code Bot commented Jul 20, 2026

Copy link
Copy Markdown

CODAGT-828

@ibetitsmike

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 3fdb7dd05b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ibetitsmike
ibetitsmike marked this pull request as ready for review July 20, 2026 11:41
@ibetitsmike
ibetitsmike merged commit f18c664 into main Jul 20, 2026
53 of 54 checks passed
@ibetitsmike
ibetitsmike deleted the mike/codagt-828-settings-mobile-stack branch July 20, 2026 17:35
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants