From 1a5230d26937d41ba41466f56823be3946ed445f Mon Sep 17 00:00:00 2001 From: Levy Tate <78818969+iLevyTate@users.noreply.github.com> Date: Fri, 6 Nov 2026 19:57:59 -0500 Subject: [PATCH 1/2] fix(dashboard): fit the whole board in the window on short screens The dashboard is a single-screen overview but used fixed desktop spacing (24px card padding, 32px hero padding, 16px row gaps) at every window height, so on a ~770px-tall window it ran ~65px past the bottom and the hero scrolled off the top. It now tightens its vertical rhythm with the window height instead of scrolling: spacing comes from --dash-* vars on .dashboard-view, stepped down at max-height 900px and 760px. At <=900px the knowledge stats put their icon beside the value, the h1, stage numbers and smart-folder chips shrink a step; at <=760px the hero summary line (which repeats the pipeline and smart-folder cards) is hidden. The pipeline connector rail now tracks the variable inner padding. Scrolling remains the fallback for windows too short for even the tight tier. Measured at 1292px wide with live knowledge stats: fits with no scroll at 1000, 900, 800, 770, 720 and 680px tall (previously overflowed at <=900px). --- .../components/dashboard/DashboardView.jsx | 38 ++++----- .../dashboard/KnowledgeStatsCard.jsx | 19 +++-- src/renderer/styles.css | 77 +++++++++++++++++++ 3 files changed, 108 insertions(+), 26 deletions(-) diff --git a/src/renderer/components/dashboard/DashboardView.jsx b/src/renderer/components/dashboard/DashboardView.jsx index b918f56..5495e3a 100644 --- a/src/renderer/components/dashboard/DashboardView.jsx +++ b/src/renderer/components/dashboard/DashboardView.jsx @@ -164,7 +164,7 @@ function HeroBand({ status, greeting, summary, onImport, onAdd }) { {greeting} - + {summary} @@ -262,7 +262,7 @@ function PipelineStage({ icon: Icon, label, value, tone, isEntryHint, onClick })