From bb0492d294a1597184c8f77ceb74fb2dfa097239 Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Sat, 15 Aug 2026 16:34:09 +0200 Subject: [PATCH] fix(web): address UI-consistency findings on the browser defaults row MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Three findings from the UI-consistency check, all in the new panel: The viewport cluster forced a hard minimum width — `min-w-36` on the select plus a non-shrinking group of two `w-24` fields and the rotate button — so the row overflowed at narrow widths once a non-fill default was set. The cluster now wraps and the fields are narrower. Control heights were mixed in one `items-center` row: a default-size select beside `sm` number fields and an `icon-sm` button. The select is now `sm` too, so all three measure 28px. The wrapper's `opacity-64` compounded with each primitive's own `disabled:opacity-64`, dimming the controls to roughly 0.41 alpha — dimmer than disabled controls anywhere else in Settings. The wrapper now dims only the row text, leaving each control at the standard disabled opacity. Co-Authored-By: Claude Opus 5 (1M context) --- .../components/settings/IntegrationsSettings.tsx | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/apps/web/src/components/settings/IntegrationsSettings.tsx b/apps/web/src/components/settings/IntegrationsSettings.tsx index a5ec16d301..1ffc7e3f3c 100644 --- a/apps/web/src/components/settings/IntegrationsSettings.tsx +++ b/apps/web/src/components/settings/IntegrationsSettings.tsx @@ -173,13 +173,17 @@ function BrowserViewportSetting({ disabled }: { readonly disabled: boolean }) { ) : null } control={ -
+
{sized ? ( -
+
commitDimension("width", value)} > @@ -226,7 +230,7 @@ function BrowserViewportSetting({ disabled }: { readonly disabled: boolean }) { disabled={disabled} format={NO_GROUPING} size="sm" - className="w-24" + className="w-20" onValueCommitted={(value) => commitDimension("height", value)} > @@ -401,7 +405,7 @@ function DesktopOnlyBrowserDefaults({ children }: { readonly children: ReactNode

Only available in the desktop app.

-
{children}
+
{children}
); }