From db5e99b3f0a202029c1862da6013eaf356102d0e Mon Sep 17 00:00:00 2001 From: Hiers Date: Tue, 5 Jul 2022 22:24:31 +0100 Subject: [PATCH] Fix in reader.html.ecr. --- src/views/reader.html.ecr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/reader.html.ecr b/src/views/reader.html.ecr index 6e4fc8a..dacd222 100644 --- a/src/views/reader.html.ecr +++ b/src/views/reader.html.ecr @@ -48,7 +48,7 @@ 'uk-animation-slide-right': flipAnimation === 'right' }" :data-src="curItem.url" :width="curItem.width" :height="curItem.height" :id="curItem.id" @click="clickImage($event)" :style="` width:${fitType === 'horz' ? '100vw' : 'auto'}; - height:${mode === 'vert' ? '100vh' : 'auto'}; + height:${fitType === 'vert' ? '100vh' : 'auto'}; margin-bottom:0; max-width:${fitType === 'horz' ? '100%' : ''}; max-height:${fitType === 'vert' ? '100%' : ''};