From 712bf4d8e4294fba44f1b5782033dad3160a74f8 Mon Sep 17 00:00:00 2001 From: Brooklyn Nicholson Date: Wed, 3 Jun 2026 21:50:03 -0500 Subject: [PATCH] style(desktop): padding-driven, square non-icon buttons Default button sizing was vanilla-shadcn chunky (fixed h-9, 16px padding) and inconsistent with the icon-button radius pass. Size text variants by padding + line-height instead of fixed heights so they stay snug and scale with content, and drop the radius on non-icon buttons (icon buttons keep the shared 4px). Move the update-overlay CTAs off a hardcoded h-10 onto the padding-based lg variant. Composer and the inline approval strip are untouched. --- apps/desktop/src/app/updates-overlay.tsx | 10 +++++----- apps/desktop/src/components/ui/button.tsx | 13 ++++++++----- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/apps/desktop/src/app/updates-overlay.tsx b/apps/desktop/src/app/updates-overlay.tsx index 39cbe97c1..1e0c6af66 100644 --- a/apps/desktop/src/app/updates-overlay.tsx +++ b/apps/desktop/src/app/updates-overlay.tsx @@ -222,7 +222,7 @@ function IdleView({
-
@@ -352,7 +352,7 @@ function ErrorView({ message, onDismiss, onRetry }: { message: string; onDismiss
-