From a0dc2705d597763031f6dc4f3fca9416ab0186b0 Mon Sep 17 00:00:00 2001 From: Matthew Valancy Date: Wed, 17 Jun 2026 18:47:58 -0700 Subject: [PATCH 1/2] LAYOUT-2: fix Workspace top-bar control overlap at ~1024px MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The three top-bar sections (graph selector / 8 view-mode buttons / status) overflowed at 1024px and the centered button strip rendered on top of the graph selector text (audit OVERLAP: "Graph View" × selector, 100%). Constrain the layout so sections never collide: - center strip is flex-1 min-w-0 and scrolls within its slot; - it only centers at xl (>=1280, where it fits) — justify-start at lg so its left edge stays in its slot instead of being pushed under the selector; - left selector is compact (md:max-w-xs md:shrink); right status md:shrink-0. Verified via the audit's overlap scan: 0 overlaps @1024. THE GATE 5/5. Co-Authored-By: Claude Opus 4.8 (1M context) --- packages/web/src/pages/Workspace.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/web/src/pages/Workspace.tsx b/packages/web/src/pages/Workspace.tsx index 61f4792a..1725632e 100644 --- a/packages/web/src/pages/Workspace.tsx +++ b/packages/web/src/pages/Workspace.tsx @@ -88,7 +88,7 @@ export function Workspace() {
{/* Left Section: Graph Selector */} -
+
{/* Title & Version - Compact */}
@@ -122,7 +122,7 @@ export function Workspace() { {/* Center Section: View Mode Buttons — desktop/tablet only. Phones use the bottom tab bar (List / Graph / More) instead of this strip. */} -
+