diff --git a/components/layout/sidebar.tsx b/components/layout/sidebar.tsx index 05394781f..bb2440710 100644 --- a/components/layout/sidebar.tsx +++ b/components/layout/sidebar.tsx @@ -598,7 +598,11 @@ function SidebarSectionHeader({ : "text-sm font-semibold text-foreground truncate"; // The toggle is one button; Add and Settings are buttons beside it, not - // inside it (a button in a button is one control to the keyboard). + // inside it (a button in a button is one control to the keyboard). They + // stay 24px with a muted hover so they fit the header line and don't run + // into the folder row below, whose selection uses the accent colour. + // Large targets still get the 44px hit area from the Button. + const headerButtonClass = "-my-0.5 h-6 w-6 rounded text-muted-foreground/70 hover:bg-muted hover:text-foreground"; return (