use screen-relative max height/width

this should matche the Anki 2.0 behaviour
This commit is contained in:
Damien Elmes 2019-06-06 09:53:50 +10:00
parent 1a6de042df
commit 47478e584f
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@
} }
img { img {
max-width: 90%; max-width: 90vw;
} }
body { body {

View File

@ -16,8 +16,8 @@ body.nightMode {
} }
img { img {
max-width: 95%; max-width: 95vw;
max-height: 95%; max-height: 95vh;
} }
#_flag { #_flag {