Skip to content

fix(ui): widen the Settings panel to fit its own tab strip (#1862) - #1887

Merged
vybe merged 1 commit into
devfrom
fix/1862-settings-panel-width
Jul 30, 2026
Merged

vybe merged 1 commit into
devfrom
fix/1862-settings-panel-width

Conversation

@dolho

@dolho dolho commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

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:

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. 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):

View max-width
Agents, Operations, Templates, ExecutionDetail max-w-7xl
Settings max-w-4xl

So 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

width before after
1440px 4 horizontal scrollers, main 896px 0 scrollers, main 1280px fixed
1024px doc scroll 1014 doc scroll 1009 slightly better
768px doc scroll 949 doc scroll 949 identical — no regression

Measured by re-running the same probe against max-w-4xl and max-w-7xl on 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.

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 vybe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@vybe
vybe merged commit 6581476 into dev Jul 30, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants