Repository navigation
Fix Settings layout overflow - #7167
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the settings dialog layout in settings-dialog.tsx by adding min-w-0 and w-full classes to the main container element, preventing tab content from expanding the dialog grid. No review comments were provided, and there is no additional feedback.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
Codex Review: Didn't find any major issues. 👍 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
Summary
Root cause
DialogContentuses a grid layout. Its direct flex child kept its min-content width, so wide API content expanded the grid track beyond the dialog boundary and clipped the right side. Two compact controls also retained fixed min-content widths inside narrower Settings panels.Impact
Settings tabs remain within the viewport, API monitor rows no longer create internal horizontal overflow, and the embedding model controls remain usable on narrow phones. Desktop sizing and existing tab behavior are unchanged.
Validation
uvenvironments.npm run typecheck.npm run build.npm run i18n:check.git diff --check.Notes
The API key prefix remains intentionally shortened after creation because the backend does not return the full secret again. This PR fixes unintended layout clipping, not intentional secret redaction or text previews.
The failing Backend CI Python jobs reproduce on current
mainand are unrelated to this frontend change. PR #7169 fixes the incomplete DeepSeek reasoning test shim that causes those failures.Five ROCm installer test failures reproduced unchanged on the baseline branch and are unrelated to this frontend-only change.
Closes #7161