Skip to content

Commit

Permalink
Fixing height on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
therobbiedavis committed May 6, 2024
1 parent 1d9c0bf commit d4438a0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions UI/Web/src/_manga-reader-common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,10 @@ img {
.full-height {
width: auto;
margin: auto;
max-height: calc(var(--vh)*100);
height: calc(var(--vh) * 100);
overflow: hidden; // This technically will crop and make it just fit
max-height: -webkit-fill-available;
height: -webkit-fill-available;
vertical-align: top;
object-fit: contain;
object-fit: cover;
&.wide {
height: 100vh;
}
Expand Down

0 comments on commit d4438a0

Please sign in to comment.