diff --git a/src/views/reader.html.ecr b/src/views/reader.html.ecr index ff86d17..3d90a10 100644 --- a/src/views/reader.html.ecr +++ b/src/views/reader.html.ecr @@ -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; `" />