Fix css selectors for img and video as direct child

This commit is contained in:
Sheldon Lee 2023-11-24 19:10:15 +08:00
parent 1555cf37cd
commit 07dd094d6b

View File

@ -38,7 +38,8 @@ body {
overflow: clip; overflow: clip;
} }
.GalleryItem > img, video { .GalleryItem > img,
.GalleryItem > video {
object-fit: contain; object-fit: contain;
max-height: 80vh; max-height: 80vh;
} }