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

This commit is contained in:
Alex 2025-10-16 12:14:39 -05:00 committed by GitHub
parent 9d639607c7
commit d0eae97037
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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>