fix: improve on click behavior of tree view

This commit is contained in:
Ruben Fiszel
2023-12-17 20:15:09 +01:00
parent 3ab0bb2b67
commit fc17d0f126
@@ -56,7 +56,7 @@
</div>
</div>
</div>
<button class="w-full flex flex-row-reverse" on:click={() => (opened = !opened)}>
<button class="w-full flex flex-row-reverse">
{#if opened}
<ChevronUp size={20} />
{:else}
@@ -121,7 +121,7 @@
>
</div>
</div>
<div class="w-full flex flex-row-reverse" on:click={() => (opened = !opened)}>
<div class="w-full flex flex-row-reverse">
{#if opened}
<ChevronUp size={20} />
{:else}