mirror of
https://github.com/Blah-IM/Weblah.git
synced 2025-05-01 00:31:08 +00:00
fix: Text truncation in GroupedListItem component
This commit is contained in:
parent
388bd84b0f
commit
a954510d38
1 changed files with 4 additions and 2 deletions
|
@ -27,9 +27,11 @@
|
||||||
{#if icon}
|
{#if icon}
|
||||||
<Icon
|
<Icon
|
||||||
src={icon}
|
src={icon}
|
||||||
class={tw('text-sf-secondary size-5', selected && 'dark:text-sf-primary text-white')}
|
class={tw('text-sf-secondary size-5 shrink-0', selected && 'dark:text-sf-primary text-white')}
|
||||||
mini
|
mini
|
||||||
/>
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
|
<div class="min-w-0 truncate text-start">
|
||||||
{@render children?.()}
|
{@render children?.()}
|
||||||
|
</div>
|
||||||
</svelte:element>
|
</svelte:element>
|
||||||
|
|
Loading…
Add table
Reference in a new issue