Skip to content

Commit

Permalink
feat: blurred background for text readability on stats
Browse files Browse the repository at this point in the history
  • Loading branch information
not-nullptr committed Oct 18, 2024
1 parent 97c7407 commit 029252e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion apps/frontend/src/components/ui/servers/ServerStats.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@
:key="index"
class="relative min-h-[150px] w-full overflow-hidden rounded-2xl bg-bg-raised p-8"
>
<div class="relative z-10 flex flex-row items-center gap-2">
<div
class="relative z-10 -ml-2 flex w-fit flex-row items-center gap-2 rounded-xl px-2 py-0.5"
:style="{
backdropFilter: 'blur(32px)',
}"
>
<h2 class="m-0 text-3xl font-extrabold text-[var(--color-contrast)]">
{{ metric.value }}
</h2>
Expand Down

0 comments on commit 029252e

Please sign in to comment.