Repository navigation
fix(ui): widen the Settings panel to fit its own tab strip (#1862) - #1887
Merged
Merged
Conversation
Settings was the ONLY top-level view constrained to `max-w-4xl` (896px). Agents,
Operations, Templates and ExecutionDetail all use `max-w-7xl`. That deviation is
the whole bug.
Measured at a 1440px viewport before the change:
main = 896px (max-w-4xl)
main.scrollWidth = 957px -> 61px of horizontal overflow
overflowing child: nav.-mb-px.flex.space-x-6 (925px inside an 832px box)
The overflowing component is the view's own tab strip — ten tabs (General …
Activation) need ~925px, so the tab row rendered past the right edge of the
content card beneath it. The issue asked which components overflow; that is the
answer, and it is the only one: no input, select, table or form overflows its
parent.
Fixed by matching the house convention rather than inventing a bespoke width.
`max-w-*` is a ceiling, so nothing changes below it.
Verified across viewports, before vs after:
1440px 4 horizontal scrollers -> 0 (main 896 -> 1280)
1024px doc scroll 1014 -> 1009 (slightly better)
768px doc scroll 949 -> 949 (identical, no regression)
The 768px case still overflows, before and after: ten tabs cannot fit a 768px
viewport at any container width. That is a separate concern (the tab strip needs
to wrap or scroll deliberately, the class of #1754) and is explicitly NOT
addressed here — this issue is the panel being narrower than the viewport allows.
Also corrected a comment on the users table that justified trimmed padding as
fitting "the max-w-4xl card" (#995). That constraint no longer exists, and left
as-is the comment would mislead the next person into preserving a workaround for
a limit that is gone.
Closes #1862
vybe
approved these changes
Jul 30, 2026
vybe
left a comment
Contributor
There was a problem hiding this comment.
Validated via /validate-pr: measured diagnosis (tab strip = the only overflowing child), fix aligns Settings with the max-w-7xl convention of every other top-level view, ceiling semantics leave narrow viewports untouched. LGTM.
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.
Closes #1862.
Diagnosis (the issue asked for this)
The issue left a placeholder: "Fill in when picking up: which specific components overflow on the default panel." Measured at a 1440px viewport:
The overflowing component is the view's own tab strip. Ten tabs (General … Activation) need ~925px, so the tab row rendered past the right edge of the content card beneath it. That is the only offender — no input, select, table or form overflows its parent.
Root cause
Settings was the only top-level view constrained to
max-w-4xl(896px):max-w-7xlmax-w-4xlSo the fix matches the house convention rather than inventing a bespoke width.
max-w-*is a ceiling, so nothing changes below it.Verified across viewports — before vs after
Measured by re-running the same probe against
max-w-4xlandmax-w-7xlon a live instance, not inferred.Honest scope note
768px still overflows, before and after. Ten tabs cannot fit a 768px viewport at any container width — that needs the strip to wrap or scroll deliberately, which is the class of #1754 and explicitly not addressed here. This issue is the panel being narrower than the viewport allows; that one is the strip being wider than a small viewport.
Also
Corrected a comment on the users table justifying trimmed padding as fitting "the max-w-4xl card" (#995). That constraint is gone; left as-is the comment would push the next person to preserve a workaround for a limit that no longer exists.
Screenshots
Before / after at 1440px are attached to the issue thread. The visible difference: the tab strip previously ran past the right edge of the content card; it now sits inside it, and the cards use the full width.