From 7569081040dd81ae6c81b2ab710c88b9e0660417 Mon Sep 17 00:00:00 2001 From: Kainoa Kanter Date: Fri, 21 Jul 2023 23:16:54 +0000 Subject: [PATCH] Update MkImgWithBlurhash.vue --- packages/client/src/components/MkImgWithBlurhash.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/client/src/components/MkImgWithBlurhash.vue b/packages/client/src/components/MkImgWithBlurhash.vue index 75a8cd71fb..d07542e437 100644 --- a/packages/client/src/components/MkImgWithBlurhash.vue +++ b/packages/client/src/components/MkImgWithBlurhash.vue @@ -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,