diff --git a/src/lib/components/LazyImage.svelte b/src/lib/components/LazyImage.svelte index 18659c3..678d528 100644 --- a/src/lib/components/LazyImage.svelte +++ b/src/lib/components/LazyImage.svelte @@ -56,8 +56,8 @@ use:lazyload onLazyVisible={lazy_visible_handler} class="overflow-hidden" - style="aspect-ratio: {imgwidth} / {imgheight}; {containerstyle ?? - ''}; max-width: {imgwidth}px; max-height: {imgheight}px" + style="aspect-ratio: {imgwidth} / {imgheight}; max-width: {imgwidth}px; max-height: {imgheight}px; {containerstyle ?? + ''}" > {#if load} {#await fetch_image_base64(src) then data}