From d25910ffc372fd06acfacbb6c805905cd98cb019 Mon Sep 17 00:00:00 2001 From: Usman Baig Date: Wed, 11 Feb 2026 21:27:23 +0100 Subject: [PATCH] fix: update layout and styling in Chart component for improved readability and alignment --- components/dashboard/Chart.tsx | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/components/dashboard/Chart.tsx b/components/dashboard/Chart.tsx index 9a5e559..b0c74ff 100644 --- a/components/dashboard/Chart.tsx +++ b/components/dashboard/Chart.tsx @@ -570,26 +570,13 @@ export default function Chart({

Try selecting another metric or date range

) : ( -
- {/* * Vertical Y-axis label (text reads bottom-to-top) */} -
- - {metricLabel} - +
+
+ {metricLabel}
-
+
- + @@ -613,7 +600,7 @@ export default function Chart({ tickLine={false} axisLine={false} domain={[0, 'auto']} - width={28} + width={24} tickFormatter={(val) => { if (metric === 'bounce_rate') return `${val}%` if (metric === 'avg_duration') return formatAxisDuration(val)