From 164a7bc7adefbba72f62ed15acf527c8f7432486 Mon Sep 17 00:00:00 2001 From: Matthew Valancy Date: Sun, 21 Jun 2026 15:33:50 -0700 Subject: [PATCH] fix(web): keep the workspace view-tab strip from clipping at ~1280px MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On the live site (which also shows the Collaborators status button), the 8 view tabs silently clipped at 1280px wide — the strip's overflow-x-auto + no-scrollbar hid the last tab (~30px) once the selector + Connected + Collaborators consumed the row. Measured live: group 578px > 548px available → 30px hidden. Trim the tab group's intrinsic width from 578px to 500px (fits 548 with ~48px headroom) without dropping labels: tighter button padding (px-3→px-2), tighter inner gaps/padding (gap-1→gap-0.5, p-2→p-1.5), smaller min-w, and right-size the oversized icons (lg:h-10/40px → lg:h-8/32px). Verified: typecheck + smoke 5/5, and the strip fits 1280/1366/1440/1680/1920 with no hidden tabs. Co-Authored-By: Claude Opus 4.8 (1M context) --- packages/web/src/pages/Workspace.tsx | 34 ++++++++++++++-------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/packages/web/src/pages/Workspace.tsx b/packages/web/src/pages/Workspace.tsx index d07a8aec..9cc0cb31 100644 --- a/packages/web/src/pages/Workspace.tsx +++ b/packages/web/src/pages/Workspace.tsx @@ -133,115 +133,115 @@ export function Workspace() { {/* Center Section: View Mode Buttons — desktop/tablet only. Phones use the bottom tab bar (List / Graph / More) instead of this strip. */}
-
+