fix(webreader): incorrect display on safari and firefox

closes #262
This commit is contained in:
Gauthier Roebroeck 2020-08-07 10:07:38 +08:00
parent b9e4bea71b
commit 22b0b7e748

View file

@ -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 {
@ -357,5 +359,6 @@ export default Vue.extend({
.img-double-fit-screen {
max-width: 50vw;
max-height: 100vh;
object-fit: contain;
}
</style>