refac: styling

This commit is contained in:
Timothy Jaeryang Baek 2025-01-22 11:56:39 -08:00
parent b641756020
commit ea7d4ec6ea

View File

@ -37,13 +37,13 @@
}}
>
<div
class=" w-full font-medium flex items-center justify-between gap-2 {attributes?.done !==
'true'
class=" w-full font-medium flex items-center justify-between gap-2 {attributes?.done &&
attributes?.done !== 'true'
? 'shimmer'
: ''}
"
>
{#if attributes?.done !== 'true'}
{#if attributes?.done && attributes?.done !== 'true'}
<div>
<Spinner className="size-4" />
</div>