Skip to content

High performance self-hosted photo and video management solution.

fix: unit overlapses value in server stats card (#22994)

Alexd0eae970372c
diff --git a/web/src/lib/components/server-statistics/ServerStatisticsCard.svelte b/web/src/lib/components/server-statistics/ServerStatisticsCard.svelte
index fc9853ca7d..c44839ae38 100644
--- a/web/src/lib/components/server-statistics/ServerStatisticsCard.svelte
+++ b/web/src/lib/components/server-statistics/ServerStatisticsCard.svelte
@@ -29,7 +29,7 @@
<div class="relative mx-auto font-mono text-2xl font-semibold">
<span class="text-gray-400 dark:text-gray-600">{zeros()}</span><span>{value}</span>
{#if unit}
- <Code color="muted" class="absolute -top-5 end-1 font-light">{unit}</Code>
+ <Code color="muted" class="absolute -top-5 end-1 font-light p-0">{unit}</Code>
{/if}
</div>
</div>