From 44e245751cafefb1be6addc14f635536e8a44c1c Mon Sep 17 00:00:00 2001 From: Nassim Tabchiche Date: Fri, 29 Nov 2024 10:30:21 +0100 Subject: [PATCH] UX: Change Card container element to anchor This makes the whole card clickable instead of only the text inside. --- frontend/src/lib/components/DataViz/Card.svelte | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/frontend/src/lib/components/DataViz/Card.svelte b/frontend/src/lib/components/DataViz/Card.svelte index ad465bb7c..277b88ed8 100644 --- a/frontend/src/lib/components/DataViz/Card.svelte +++ b/frontend/src/lib/components/DataViz/Card.svelte @@ -1,7 +1,7 @@ -
@@ -20,10 +21,10 @@ {section}
- {count} +

{count}

{label}
-
+