fix: broken sidebar

This commit is contained in:
Xylight committed 2024-05-26 19:50:15 -07:00
1 parent 369b258de4
commit 451ad777fb
3 files changed
+22 -15

No files matched your search

@@ -24,7 +24,7 @@
? 'text-primary-900 dark:!text-primary-100'
: 'text-slate-600 dark:text-zinc-400'} {$userSettings.expandSidebar
? ''
: 'max-lg:!p-1 [&>*]:max-lg:!justify-center'} {$$props.class}"
: '//max-lg:!p-1 //[&>*]:max-lg:!justify-center'} {$$props.class}"
>
<slot {selected} name="icon" slot="prefix">
{#if icon}
@@ -32,7 +32,7 @@
{/if}
</slot>
<slot />
<div class={$userSettings.expandSidebar ? 'contents' : 'max-lg:hidden'}>
<div class={$userSettings.expandSidebar ? '//contents' : 'max-lg:hidden'}>
<slot name="label" />
</div>
</Button>