Skip to content

Commit

Permalink
fix(webreader): incorrect display on safari and firefox
Browse files Browse the repository at this point in the history
closes gotson#262
  • Loading branch information
gotson committed Aug 7, 2020
1 parent b9e4bea commit 22b0b7e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion komga-webui/src/components/readers/PagedReader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -339,14 +339,16 @@ export default Vue.extend({
.img-fit-width {
max-width: 100vw;
align-self: flex-start;
}
.img-double-fit-width {
max-width: 50vw;
align-self: flex-start;
}
.img-fit-height {
max-height: 100vh;
height: 100vh;
}
.img-fit-screen {
Expand All @@ -357,5 +359,6 @@ export default Vue.extend({
.img-double-fit-screen {
max-width: 50vw;
max-height: 100vh;
object-fit: contain;
}
</style>

0 comments on commit 22b0b7e

Please sign in to comment.