Repository navigation
fix(studio): use full-width page layout outside chat - #2196
Merged
Merged
Conversation
Every non-chat page wrapped its content in a centered `mx-auto max-w-*` column with `px-4 py-7 sm:px-8 sm:py-10` gutters, which left wide empty margins on desktop. The prototype (stacklok/mecatl-prototypes, stack/08-tooling) renders these pages full width and left-aligned in an `h-full overflow-y-auto px-3 pt-6 pb-8 min-[500px]:px-4` scroll container, and caps reading width on the content itself (Settings content beside the section nav is `max-w-3xl`). Add a small `PageShell` with the prototype's container and use it for Settings, provider detail, memory fact detail, Scheduled (list and detail), Skills (list and configured-skill detail) and the shortcuts reference. Lists are now full width; detail pages keep their previous reading width but sit at the left edge; Settings caps its section content at `max-w-3xl`. Settings also drops the "Chats" return link and the subtitle above its title, which the prototype has on no Settings page; the top navigation already links to Chats. Chat, centered error pages and centered empty/not-found state cards are unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
kantord
approved these changes
Oct 8, 2026
Merged
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Studio's non-chat pages now use the prototype's full-width, left-aligned layout instead of a centered
max-w-*column. Before, content sat in the middle of the page with wide empty gutters; now it starts at the left edge like the design reference (stacklok/mecatl-prototypes,stack/08-tooling).PageShell(apps/web/src/components/shell/page-shell.tsx) carries the prototype's page container (h-full overflow-y-auto px-3 pt-6 pb-8 min-[500px]:px-4, nomx-auto). Pages that need a reading width cap their own content, as the prototype does.max-w-3xl), provider detail, memory fact detail, the Schedules list and detail, the Skills list and skill detail, and Shortcuts.With whitespace ignored the diff is 9 files, +38/−73; the rest is re-indentation.
Screenshots (before | after)
The before and after shots come from
origin/mainand from this branch, both againstmecated --mockwith isolated config. The "could not be loaded" message in Settings appears in both: the mock daemon has no runtime settings.Settings: Memory


Settings: Agent


Settings: About

Scheduled


Skills


Shortcuts

There is no horizontal overflow at 390px on any page. At 1440px the page title moves from x=176 to x=28.
Verification
Node 26.10.0, pnpm 12.4.2:
task studio:lint,task studio:typecheckandtask studio:generated-checkpass.task studio:test: web 653 tests, server 182.task studio:browser: 54 Playwright journeys.No Go code changed.
Follow-ups
<select>, and the nav width.Relates to #1779.
🤖 Generated with Claude Code