Lib: Fix double semicolon in LazyImage
This commit is contained in:
@ -56,8 +56,8 @@
|
|||||||
use:lazyload
|
use:lazyload
|
||||||
onLazyVisible={lazy_visible_handler}
|
onLazyVisible={lazy_visible_handler}
|
||||||
class="overflow-hidden"
|
class="overflow-hidden"
|
||||||
style="aspect-ratio: {imgwidth} / {imgheight}; {containerstyle ??
|
style="aspect-ratio: {imgwidth} / {imgheight}; max-width: {imgwidth}px; max-height: {imgheight}px; {containerstyle ??
|
||||||
''}; max-width: {imgwidth}px; max-height: {imgheight}px"
|
''}"
|
||||||
>
|
>
|
||||||
{#if load}
|
{#if load}
|
||||||
{#await fetch_image_base64(src) then data}
|
{#await fetch_image_base64(src) then data}
|
||||||
|
Reference in New Issue
Block a user