From 9590453edab50f186dcc1ee5aaef6717ff604f88 Mon Sep 17 00:00:00 2001 From: Anders Hafreager Date: Sat, 15 Aug 2026 21:53:11 +0200 Subject: [PATCH] feat: compact the project and run headers More viewport, less chrome: the breadcrumb moves inline with the title (one row instead of two), the title drops to 17px, the quick-run banner becomes a slim strip, tab and run sub-header paddings tighten. Saves roughly 70px of vertical space above the simulation. Fixes #409 Co-Authored-By: Claude Fable 5 --- src/shell/ProjectWorkspace.tsx | 69 +++++++++++++++++----------------- src/shell/RunDetail.tsx | 2 +- 2 files changed, 36 insertions(+), 35 deletions(-) diff --git a/src/shell/ProjectWorkspace.tsx b/src/shell/ProjectWorkspace.tsx index bcf9860d..fff9a4d7 100644 --- a/src/shell/ProjectWorkspace.tsx +++ b/src/shell/ProjectWorkspace.tsx @@ -109,7 +109,7 @@ const ProjectWorkspace = ({ display: "inline-flex", alignItems: "center", gap: 7, - padding: "10px 14px", + padding: "7px 12px", border: "none", borderBottom: `2px solid ${isActive ? "var(--accent)" : "transparent"}`, background: "transparent", @@ -157,19 +157,19 @@ const ProjectWorkspace = ({ display: "flex", alignItems: "center", gap: 10, - margin: "16px 0 0", - padding: "10px 14px", - borderRadius: 10, + margin: "8px 0 0", + padding: "5px 12px", + borderRadius: 9, background: "var(--accent-soft)", border: "1px solid var(--accent-line)", - fontSize: 13, + fontSize: 12.5, color: "var(--text)", }} > - + This is a quick run — files are temporary and will be discarded. @@ -179,8 +179,8 @@ const ProjectWorkspace = ({ data-testid="save-as-project" className="shell-primary-hover" style={{ - padding: "6px 12px", - borderRadius: 8, + padding: "4px 10px", + borderRadius: 7, border: "none", background: "var(--accent)", color: "#fff", @@ -199,33 +199,10 @@ const ProjectWorkspace = ({ display: "flex", alignItems: "center", gap: 16, - padding: "18px 0 0", + padding: "10px 0 0", }} >
-
- { - event.preventDefault(); - setScreen({ name: "home" }); - }} - style={{ color: "var(--text-3)" }} - > - Projects - - / -
+ {/* Breadcrumb inline with the title: one row instead of two. */} + + { + event.preventDefault(); + setScreen({ name: "home" }); + }} + style={{ color: "var(--text-3)" }} + > + Projects + + / +

-
+
{tabs.map((tab) => (