From 0b3f30dedccf167ef1a6385cd232c116e699f1a8 Mon Sep 17 00:00:00 2001 From: Arman Date: Thu, 21 Dec 2023 10:54:00 +0100 Subject: [PATCH] fix: project usage dropdown --- src/lib/components/cardGrid.svelte | 2 +- src/lib/components/collapsibleItem.svelte | 2 +- .../usage/[[invoice]]/ProjectBreakdown.svelte | 50 +++++++++---------- 3 files changed, 26 insertions(+), 28 deletions(-) diff --git a/src/lib/components/cardGrid.svelte b/src/lib/components/cardGrid.svelte index 33dff20d1b..67e0d2ad40 100644 --- a/src/lib/components/cardGrid.svelte +++ b/src/lib/components/cardGrid.svelte @@ -10,7 +10,7 @@
-
+
diff --git a/src/lib/components/collapsibleItem.svelte b/src/lib/components/collapsibleItem.svelte index cd44bc824a..8397454dcf 100644 --- a/src/lib/components/collapsibleItem.svelte +++ b/src/lib/components/collapsibleItem.svelte @@ -9,7 +9,7 @@
Project breakdown -
- - - Project - Usage - - - - {#each groupByProject(metric).sort((a, b) => b.usage - a.usage) as project} - - - {getProjectName(project.projectId)} - - {format(project.usage)} - - View project usage - - - {/each} - -
-
+ + + Project + Usage + + + + {#each groupByProject(metric).sort((a, b) => b.usage - a.usage) as project} + + + {getProjectName(project.projectId)} + + {format(project.usage)} + + View project usage + + + {/each} + +