fix: styling

This commit is contained in:
Timothy J. Baek 2024-07-30 11:44:32 +01:00
parent 0ced153f86
commit acbdb05bd0

View File

@ -29,18 +29,10 @@
</button>
{:else}
<button on:click={() => (open = !open)}>
<slot />
<div
class="flex items-center gap-2 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 transition"
>
<slot />
{#if open}
<ChevronUp strokeWidth="3.5" className="size-3.5 " />
{:else}
<ChevronDown strokeWidth="3.5" className="size-3.5 " />
{/if}
</div>
</button>
{/if}