Keep an image ratio at the paged mode, clamping the image in a screen

This commit is contained in:
Leeingnyo 2021-08-18 22:16:33 +09:00
parent 4d1ad8fb38
commit 1e7d6ba5b1

View File

@ -50,6 +50,9 @@
width:${mode === 'width' ? '100vw' : 'auto'};
height:${mode === 'height' ? '100vh' : 'auto'};
margin-bottom:0;
max-width:100%;
max-height:100%;
object-fit: contain;
`" />
<div style="position:absolute;z-index:1; top:0;left:0; width:30%;height:100%;" @click="flipPage(false)"></div>