fix(web): expanded images go to almost full screen

they were too little every time anyway, aaaaaaaaaaaaa
This commit is contained in:
əlemi 2024-08-12 01:39:02 +02:00
parent b44f1000e1
commit 2f06b0443a
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -230,7 +230,7 @@
width: unset; width: unset;
height: unset; height: unset;
max-width: calc(100% - 1.5em); max-width: calc(100% - 1.5em);
max-height: 55vh; max-height: 90vh;
} }
.box { .box {
border: 3px solid var(--accent); border: 3px solid var(--accent);
@ -253,7 +253,7 @@
img.expand, img.expand,
video.expand { video.expand {
height: unset; height: unset;
max-height: 55vh; max-height: 90vh;
max-width: 100%; max-width: 100%;
object-fit: contain; object-fit: contain;
} }