Lib: Fix LazyImage in Dropdown component

This commit is contained in:
2024-12-16 21:11:52 +01:00
parent bcb5661e06
commit b21e4b9b6e
2 changed files with 20 additions and 6 deletions

View File

@ -151,11 +151,12 @@
alt=""
imgwidth={option.icon_width ?? 1}
imgheight={option.icon_height ?? 1}
class="mr-2 rounded"
style="height: 24px; max-width: 64px;"
class="rounded"
imgstyle="height: 24px;"
containerstyle="height: 24px;"
/>
{/if}
{option.label}
<span class="ml-2">{option.label}</span>
</div>
</ListBoxItem>
{/each}