fix: Correctly close div tag for expandable tags section

This commit is contained in:
Ushie
2025-06-14 05:07:54 +03:00
parent 7781bfdb14
commit 77c37e6e11

View File

@@ -49,9 +49,19 @@
/>
{/each}
{#if expandable && tags.length > 1}
<li>
<Button type="text" on:click={() => (showAllTags = !showAllTags)}>
{#if expandable && tags.length > 1}
<li>
<Button type="text" on:click={() => (showAllTags = !showAllTags)}>
<div
class="expand-arrow"
style:transform={showAllTags ? 'rotate(90deg)' : 'rotate(-90deg)'}
>
<ChevronDown size="24px" color="var(--surface-six)" />
</div>
</Button>
</li>
{/if}
</div>
<style lang="scss">
div {