diff --git a/src/@layouts/styles/_default-layout.scss b/src/@layouts/styles/_default-layout.scss index 6c53a850..a1cb50bc 100644 --- a/src/@layouts/styles/_default-layout.scss +++ b/src/@layouts/styles/_default-layout.scss @@ -51,6 +51,7 @@ body, & > div:first-child { flex: auto; position: relative; + width: calc(100vw - variables.$layout-vertical-nav-width - 1rem); } } } diff --git a/src/components/cards/MediaCard.vue b/src/components/cards/MediaCard.vue index bd244290..25b3e696 100644 --- a/src/components/cards/MediaCard.vue +++ b/src/components/cards/MediaCard.vue @@ -412,21 +412,12 @@ const getImgUrl: Ref = computed(() => { v-bind="hover.props" :height="props.height" :width="props.width" - :loading="!isImageLoaded" class="outline-none shadow ring-gray-500" :class="{ 'transition transform-cpu duration-300 scale-105 shadow-lg': hover.isHovering, 'ring-1': isImageLoaded, }" > -