Skip to content

Commit

Permalink
fix: vertical mode, image ratio, body height
Browse files Browse the repository at this point in the history
  • Loading branch information
plateaukao committed Nov 30, 2024
1 parent d66e91b commit a8dcc6e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/main/assets/verticalReaderview.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
padding: 10px;
background-color: #ffffff !important;
color: #000000 !important;
box-sizing: border-box;
height: 100vh;
}

.mozac-readerview-body * {
Expand Down Expand Up @@ -202,6 +204,7 @@
margin-left: auto;
margin-right: auto;
max-width: 300px !important;
height: auto !important;
}

/* Account for body padding to make image full width */
Expand All @@ -210,6 +213,7 @@
margin-left: -20px;
margin-right: -20px;
max-width: 300px !important;
height: auto !important;
}

/* Image caption text */
Expand Down

0 comments on commit a8dcc6e

Please sign in to comment.