fix(gui): "Main Config" assistant selector row also overflowed panel edge
Some checks are pending
Main Branch Build / republish-pr-artifacts (Linux) (push) Waiting to run
Main Branch Build / republish-pr-artifacts (macOS) (push) Waiting to run
PR Checks / track-rerun (push) Waiting to run
PR Checks / prettier-check (push) Waiting to run
PR Checks / core-checks (push) Waiting to run
PR Checks / gui-checks (push) Waiting to run
PR Checks / binary-checks (push) Waiting to run
PR Checks / vscode-checks (push) Waiting to run
PR Checks / get-packages-matrix (push) Waiting to run
PR Checks / packages-checks (push) Blocked by required conditions
PR Checks / vscode-get-test-file-matrix (push) Waiting to run
PR Checks / vscode-package-extension-linux (push) Waiting to run
PR Checks / unknown () (push) Blocked by required conditions
PR Checks / jetbrains-tests (push) Waiting to run
PR Checks / require-all-checks-to-pass (push) Blocked by required conditions
Submit Gradle Dependency Graph For Dependabot / dependency-submission (push) Waiting to run

Same root cause as the previous InputToolbar fix (missing min-w-0 on a
flex container chain), different row: BlockSettingsTopToolbar (the
Lump row showing the rules/tools/models icons plus the assistant/config
selector, e.g. "Main Config") had no min-w-0 on its outer flex-between
container or on the wrapper around AssistantAndOrgListbox, and that
component's own root div also lacked it. Confirmed still reproducing
after the first fix was installed and verified in the built bundle --
this was a second, separate overflow site, not a failure of the first
fix.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
krustophski 2026-09-25 04:41:19 +03:00
parent 7927a3b102
commit c2cdd1957e
2 changed files with 4 additions and 4 deletions

View file

@ -96,7 +96,7 @@ export function AssistantAndOrgListbox({
return (
<Listbox>
<div className="relative" ref={listboxRef}>
<div className="relative min-w-0" ref={listboxRef}>
<SelectedAssistantButton
selectedProfile={selectedProfile}
variant={variant}

View file

@ -68,8 +68,8 @@ export function BlockSettingsTopToolbar() {
};
return (
<div className="flex flex-1 items-center justify-between gap-3">
<div className="flex items-center gap-1">
<div className="flex min-w-0 flex-1 items-center justify-between gap-3">
<div className="flex flex-shrink-0 items-center gap-1">
{shouldShowError && (
<ToolTip delayShow={700} content="View configuration errors">
<div
@ -117,7 +117,7 @@ export function BlockSettingsTopToolbar() {
</div>
<ToolTip place="top" content="Select Config">
<div>
<div className="min-w-0">
<AssistantAndOrgListbox variant="lump" />
</div>
</ToolTip>