From 3671657d11f4e5b678e6f08f9d737a76f3b747cb Mon Sep 17 00:00:00 2001 From: Vadym Samoilenko Date: Wed, 6 May 2026 21:34:56 +0100 Subject: [PATCH] fix: chart bars use pixel heights instead of percentages Percentage heights relative to a flex parent are unreliable without explicit height on the parent chain. Compute bar heights directly in pixels (max 160px) to guarantee visible bars regardless of flex/CSS cascade. Co-Authored-By: Claude Sonnet 4.6 --- web/src/views/DashboardView.vue | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/web/src/views/DashboardView.vue b/web/src/views/DashboardView.vue index 30596e9..cd7a8bd 100644 --- a/web/src/views/DashboardView.vue +++ b/web/src/views/DashboardView.vue @@ -191,18 +191,14 @@ const DOW_LABELS = ['Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su']

No sessions in this period

-
+
-
-
+ />
@@ -228,15 +224,16 @@ const DOW_LABELS = ['Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su']

No sessions in this period

-
+
{{ point.label.slice(0, 2) }}