diff --git a/custom/preview.vue b/custom/preview.vue index d20c756..7f0be1c 100644 --- a/custom/preview.vue +++ b/custom/preview.vue @@ -5,7 +5,7 @@ v-if="contentType && contentType.startsWith('image')" :src="url" class="rounded-md" - :style="maxWidth" + :style="[maxWidth, minWidth]" ref="img" data-zoomable @click.stop="zoom.open()" @@ -51,12 +51,12 @@