From 4840f2f25a6a3122fc578dfb6efa2ccf2b955e08 Mon Sep 17 00:00:00 2001 From: popka13221 <168582558+popka13221@users.noreply.github.com> Date: Mon, 11 May 2026 01:29:14 +0200 Subject: [PATCH] Fix update statistics card overflow --- src/components/dashboard/UpdateStatsCard.vue | 103 +++++++++++-------- 1 file changed, 58 insertions(+), 45 deletions(-) diff --git a/src/components/dashboard/UpdateStatsCard.vue b/src/components/dashboard/UpdateStatsCard.vue index 3e86f6144f..7d27695c6b 100644 --- a/src/components/dashboard/UpdateStatsCard.vue +++ b/src/components/dashboard/UpdateStatsCard.vue @@ -122,6 +122,15 @@ const hasData = computed(() => effectiveTotalUpdates.value > 0 || isDemoMode.val const PAGE_SIZE = 1000 +const compactNumberFormatter = new Intl.NumberFormat(undefined, { + maximumFractionDigits: 1, + notation: 'compact', +}) + +function formatCompactNumber(value: number) { + return compactNumberFormatter.format(value) +} + async function fetchDailyVersionStats(targetAppIds: string[], startDate: string, endDate: string) { const supabase = useSupabase() const allRows: any[] = [] @@ -383,55 +392,59 @@ onMounted(async () => { :is-demo-data="isDemoMode" > - +
+
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+