mirror of
https://github.com/Blah-IM/Weblah.git
synced 2025-04-30 16:21:09 +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}
|
||||
<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
|
||||
/>
|
||||
{/if}
|
||||
{@render children?.()}
|
||||
<div class="min-w-0 truncate text-start">
|
||||
{@render children?.()}
|
||||
</div>
|
||||
</svelte:element>
|
||||
|
|
Loading…
Add table
Reference in a new issue