From 46e375be75ce962d8a732b710872afadd6624f47 Mon Sep 17 00:00:00 2001 From: Ronni Skansing Date: Sat, 30 Aug 2025 09:03:34 +0200 Subject: [PATCH] fix trend legend aligment Signed-off-by: Ronni Skansing --- frontend/src/lib/components/CampaignTrendChart.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/lib/components/CampaignTrendChart.svelte b/frontend/src/lib/components/CampaignTrendChart.svelte index 138723a..be3bae4 100644 --- a/frontend/src/lib/components/CampaignTrendChart.svelte +++ b/frontend/src/lib/components/CampaignTrendChart.svelte @@ -593,7 +593,7 @@ const text = document.createElementNS('http://www.w3.org/2000/svg', 'text'); text.setAttribute('x', (legendX + 24).toString()); - text.setAttribute('y', (y + 4).toString()); + text.setAttribute('y', y.toString()); text.setAttribute('font-size', '11'); text.setAttribute('font-weight', '500'); text.setAttribute('fill', item.color);