From 2693eb28d6c8bf56963beddda420373118643ef0 Mon Sep 17 00:00:00 2001 From: cproudlock Date: Wed, 12 Aug 2026 11:45:17 -0400 Subject: [PATCH] Cap the dashboard at four cards, and shrink the hover map The card track was 28rem, which fits four across a full-width page but only three once the sidebar takes its 250px - and 1920 with the sidebar is the common case here, so the board showed three. The track is 22rem now, with an explicit four-column cap above 96rem: left to auto-fit alone a wide screen reaches five, and a fifth column only makes the cards narrower until the rows they hold start truncating again. Measured at 1366, 1600, 1920 and 2560: three, four, four, four. The floor-plan preview drops from 500x385 to 390x300. At the old size it covered the row it was launched from, which is the row you are trying to read. --- frontend/src/components/DashboardCards.vue | 21 +- .../src/components/LocationMapTooltip.vue | 538 +++++++++--------- 2 files changed, 286 insertions(+), 273 deletions(-) diff --git a/frontend/src/components/DashboardCards.vue b/frontend/src/components/DashboardCards.vue index 93e13a7..72c37ab 100644 --- a/frontend/src/components/DashboardCards.vue +++ b/frontend/src/components/DashboardCards.vue @@ -120,16 +120,27 @@ defineExpose({ load }) - - + + + + + + +