This commit is contained in:
vcoppe
2025-10-26 12:12:23 +01:00
parent 17e5347d55
commit 722cf58486
12 changed files with 401 additions and 385 deletions

View File

@@ -34,9 +34,10 @@
<Collapsible.Trigger class="w-full">
<Button
variant="ghost"
class="w-full flex flex-row {side === 'right'
size="icon"
class="w-full flex flex-row gap-1 {side === 'right'
? 'justify-between'
: 'justify-start'} p-0 has-[>svg]:px-0 h-fit {nohover
: 'justify-start pl-1'} h-fit {nohover
? 'hover:bg-background'
: ''} pointer-events-none"
>
@@ -60,9 +61,10 @@
{:else}
<Button
variant="ghost"
class="w-full flex flex-row {side === 'right'
size="icon"
class="w-full flex flex-row gap-1 {side === 'right'
? 'justify-between'
: 'justify-start'} p-0 has-[>svg]:px-0 h-fit {nohover ? 'hover:bg-background' : ''}"
: 'justify-start pl-1'} h-fit {nohover ? 'hover:bg-background' : ''}"
>
{#if side === 'left'}
<Collapsible.Trigger>
@@ -85,7 +87,6 @@
{/if}
</Button>
{/if}
<Collapsible.Content>
{@render props.content()}
</Collapsible.Content>