refactor: update loading transition effects for server statistics by simplifying scaling and opacity classes

This commit is contained in:
2025-12-01 08:34:20 -05:00
parent 2511cde1dc
commit a7eb23c59c

View File

@@ -102,8 +102,8 @@
wire:poll.120s="stats"
x-data="{ chartsLoaded: false }"
@proxmox-all-stats-loaded.window="chartsLoaded = true"
class="relative bg-background-secondary border border-neutral rounded-2xl p-6 space-y-6 shadow-sm overflow-hidden transform transition duration-300 ease-out"
:class="chartsLoaded ? 'scale-100 opacity-100' : 'scale-95 opacity-80'"
class="relative bg-background-secondary border border-neutral rounded-2xl p-6 space-y-6 shadow-sm overflow-hidden transition-opacity duration-300 ease-out"
:class="chartsLoaded ? 'opacity-100' : 'opacity-80'"
>
<div>
<div class="flex flex-col gap-3 lg:flex-row lg:items-center lg:justify-between">