From 8c0f15478de9dd12eb3171b162da17547c9f273f Mon Sep 17 00:00:00 2001 From: Brooklyn Nicholson Date: Wed, 3 Jun 2026 21:56:35 -0500 Subject: [PATCH] style(desktop): shrink button scale, flush overlay sidebar, variant-ize stray buttons - Buttons: smaller default font (14px -> 13px) and tighter padding-driven sizes across every variant; the chunky shadcn scale read as oversized in a dense desktop UI. - Overlay split layout (settings / command center): the shared OverlayView top padding left the card surface showing as a gap above the sidebar. Move the titlebar clearance into each column so the sidebar background runs flush to the card's top edge. - Consolidate buttons that hardcoded size/radius/font onto the proper size variants (tooltip-icon-button, overlay close, cron IconAction, SidebarTrigger, gateway system button, session-row actions radius, title chip radius, release notes link) so styling flows from variant props, not per-call overrides. Composer and the inline approval strip are intentionally left as-is. --- apps/desktop/src/app/chat/index.tsx | 2 +- apps/desktop/src/app/chat/sidebar/session-row.tsx | 2 +- apps/desktop/src/app/cron/index.tsx | 4 ++-- .../src/app/overlays/overlay-split-layout.tsx | 13 +++++++++++-- apps/desktop/src/app/overlays/overlay-view.tsx | 9 ++++++--- apps/desktop/src/app/settings/about-settings.tsx | 2 +- apps/desktop/src/app/settings/index.tsx | 2 +- apps/desktop/src/app/shell/gateway-menu-panel.tsx | 2 +- .../components/assistant-ui/tooltip-icon-button.tsx | 4 ++-- apps/desktop/src/components/ui/button.tsx | 10 +++++----- apps/desktop/src/components/ui/sidebar.tsx | 4 ++-- 11 files changed, 33 insertions(+), 21 deletions(-) diff --git a/apps/desktop/src/app/chat/index.tsx b/apps/desktop/src/app/chat/index.tsx index a5c5e3833..ac19adc60 100644 --- a/apps/desktop/src/app/chat/index.tsx +++ b/apps/desktop/src/app/chat/index.tsx @@ -123,7 +123,7 @@ function ChatHeader({ title={title} > -
{children}
+ {/* No top padding here: the split-layout columns own their own + titlebar clearance so their backgrounds run flush to the card top + (otherwise the card surface shows as a gap above the sidebar). */} +
{children}
) diff --git a/apps/desktop/src/app/settings/about-settings.tsx b/apps/desktop/src/app/settings/about-settings.tsx index 991b86062..319f97960 100644 --- a/apps/desktop/src/app/settings/about-settings.tsx +++ b/apps/desktop/src/app/settings/about-settings.tsx @@ -145,7 +145,7 @@ export function AboutSettings() {