Skip to content

Commit

Permalink
transition-none on radial
Browse files Browse the repository at this point in the history
  • Loading branch information
amir20 committed Jan 5, 2025
1 parent d02e7f6 commit ba17c8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/components/HostList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@

<div class="flex flex-row gap-4 md:gap-8" v-if="weightedStats[host.id]">
<div
class="radial-progress text-primary text-sm [--size:4rem] [--thickness:0.25em] md:text-base md:[--size:5rem]"
class="radial-progress text-primary text-sm transition-none [--size:4rem] [--thickness:0.25em] md:text-base md:[--size:5rem]"
:style="`--value: ${Math.floor((weightedStats[host.id].weighted.totalCPU / (host.nCPU * 100)) * 100)}; `"
role="progressbar"
>
{{ weightedStats[host.id].weighted.totalCPU.toFixed(0) }}%
</div>
<div
class="radial-progress text-primary text-sm [--size:4rem] [--thickness:0.25em] md:text-base md:[--size:5rem]"
class="radial-progress text-primary text-sm transition-none [--size:4rem] [--thickness:0.25em] md:text-base md:[--size:5rem]"
:style="`--value: ${Math.floor((weightedStats[host.id].weighted.totalMem / host.memTotal) * 100)};`"
role="progressbar"
>
Expand Down

0 comments on commit ba17c8c

Please sign in to comment.