From 1c3efe5835101bbff1518031f988ae1b8ec70aa1 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 11 Nov 2026 19:30:32 +0100 Subject: fix(dashboard): pin the dashboard column to the viewport width The .dash grid had no column template, so its one implicit auto column took the min-content width of everything inside it. A long nowrap music title (or any nowrap text) widened the whole dashboard past the viewport, pushing the spending card and chips off screen. minmax(0, 1fr) caps the column at the page width so the title ellipsizes instead. Co-Authored-By: Claude Opus 5.5 --- static/deck.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static') diff --git a/static/deck.css b/static/deck.css index 3abb7e7..81a7428 100644 --- a/static/deck.css +++ b/static/deck.css @@ -643,7 +643,7 @@ select { /* The Dashboard: one fixed screen (static/dashboard.js). */ .tab-panel[data-tab="Dashboard"] { height: 100%; box-sizing: border-box; padding-top: 18px; } -.dash { height: 100%; display: grid; grid-template-rows: 25% 1fr 10%; gap: 10px; } +.dash { height: 100%; display: grid; grid-template-rows: 25% 1fr 10%; grid-template-columns: minmax(0, 1fr); gap: 10px; } .dash [hidden] { display: none !important; } .dash-defs { position: absolute; } -- cgit v1.2.3