Update MkImgWithBlurhash.vue

This commit is contained in:
Kainoa Kanter 2023-07-21 23:16:54 +00:00
parent 1f4eb88d45
commit 7569081040

View file

@ -13,10 +13,10 @@
:type="type"
:alt="alt"
:class="{
cover,
wide: largestDimension === 'width',
tall: largestDimension === 'height'
}"
cover,
wide: largestDimension === 'width',
tall: largestDimension === 'height'
}"
:style="{ 'object-fit': cover ? 'cover' : null }"
loading="lazy"
@load="onLoad"
@ -36,7 +36,7 @@ const props = withDefaults(
title?: string | null;
size?: number;
cover?: boolean;
largestDimension?: 'width'|'height'
largestDimension?: "width" | "height";
}>(),
{
src: null,