From aa29de90291644dede3c1480863c3a06f8a195c6 Mon Sep 17 00:00:00 2001 From: Wim Brand Date: Mon, 3 Nov 2025 19:16:55 +0100 Subject: [PATCH] Fix dashboard panel spacing --- .../src/user_home/dashboard/Dashboard.svelte | 24 ++++++++++++++----- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/svelte/src/user_home/dashboard/Dashboard.svelte b/svelte/src/user_home/dashboard/Dashboard.svelte index 22fca0b..79d3730 100644 --- a/svelte/src/user_home/dashboard/Dashboard.svelte +++ b/svelte/src/user_home/dashboard/Dashboard.svelte @@ -193,12 +193,24 @@ onMount(() => { overflow: auto; padding: 6px; } -.size_1 { width: 400px; } -.size_1 > .card_component { max-height: 400px; } -.size_2 { width: 800px; } -.size_2 > .card_component { max-height: 600px; } -.size_3 { width: 1200px; } -.size_3 > .card_component { max-height: 800px; } +.size_1 { + width: 500px; +} +.size_1 > .card_component { + max-height: 400px; +} +.size_2 { + width: 1008px; /* Add 8px to account for gap between cards */ +} +.size_2 > .card_component { + max-height: 600px; +} +.size_3 { + width: 1516px; /* Add 16px to account for two gaps between cards */ +} +.size_3 > .card_component { + max-height: 800px; +} .title_box { flex: 0 0 auto;