fix(web): size the titlebar layout-control icons like the sidebar trigger

The trigger's icon falls through to the Button default (size-4) while the
right cluster hard-coded size-3.5, so the two ends of the titlebar read a
pixel apart on every edge. All five layout-control icons now use size-4,
matching the trigger and the pull requests page's refresh icon.

Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
Julius MarmingeandClaude Fable 5 committed 2026-08-15 16:51:44 +02:00
1 parent 0730577f7a
commit 4ef9640d2e
1 file changed
+5 -5
@@ -64,7 +64,7 @@ export const PanelLayoutControls = memo(function PanelLayoutControls({
variant="ghost"
size="sm"
>
<ListFilterIcon className="size-3.5" />
<ListFilterIcon className="size-4" />
{threadPanelHasAttention ? (
<span
className="absolute right-1 top-1 size-1.5 rounded-full bg-warning ring-2 ring-background"
@@ -131,7 +131,7 @@ export const PanelLayoutControls = memo(function PanelLayoutControls({
size="sm"
disabled={!terminalAvailable}
>
<PanelBottomIcon className="size-3.5" />
<PanelBottomIcon className="size-4" />
</Toggle>
}
/>
@@ -159,7 +159,7 @@ export const PanelLayoutControls = memo(function PanelLayoutControls({
size="sm"
disabled={!rightPanelAvailable}
>
<PanelRightIcon className="size-3.5" />
<PanelRightIcon className="size-4" />
{liveAgentCount > 0 ? (
<span
aria-hidden
@@ -207,9 +207,9 @@ export const RightPanelMaximizeControl = memo(function RightPanelMaximizeControl
size="sm"
>
{maximized ? (
<Minimize2Icon className="size-3.5" />
<Minimize2Icon className="size-4" />
) : (
<Maximize2Icon className="size-3.5" />
<Maximize2Icon className="size-4" />
)}
</Toggle>
}