Skip to content

Commit 9bfb54a

Browse files
authored
Update SidebarCategory.svelte
1 parent 1eb0e47 commit 9bfb54a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/lib/sidebar/navigation/SidebarCategory.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616

1717
<details ontoggle={() => (windowInfo.isNavOpen = true)} class="w-full group marker:hidden">
1818
<summary
19-
class="rounded-lg cursor-pointer p-1 w-full flex gap-2 items-center justify-between text-left hover:bg-stone-700 hover:text-white hover:font-medium marker:hidden focus-visible:outline-2 focus-visible:outline-dph-orange">
19+
class="rounded-lg cursor-pointer p-1 w-full flex gap-2 items-center text-left hover:bg-stone-700 hover:text-white hover:font-medium marker:hidden focus-visible:outline-2 focus-visible:outline-dph-orange">
2020
<Icon />
2121
{#if windowInfo.isNavOpen}
22-
<span>{name}</span>
22+
<span class="grow min-w-0">{name}</span>
2323
<IconExpand class="motion-safe:transition-all group-open:rotate-90 rotate-0" />
2424
{/if}
2525
</summary>

0 commit comments

Comments
 (0)