Fix video alignment

This commit is contained in:
Lim Chee Aun 2022-12-28 14:43:58 +08:00
parent 2a2b730b20
commit 23a6cdbe3b

View file

@ -477,9 +477,11 @@ a.mention span {
height: auto; height: auto;
max-height: 100vh; max-height: 100vh;
max-height: 100dvh; max-height: 100dvh;
vertical-align: middle;
} }
.carousel > * video { .carousel > * video {
min-height: 80px; min-height: 80px;
max-height: 80vh; /* prevent other UI elements from obscuring video */
} }
.carousel-top-controls { .carousel-top-controls {