From 23a6cdbe3bdc897356a660d0ed439108098f6623 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Wed, 28 Dec 2022 14:43:58 +0800 Subject: [PATCH] Fix video alignment --- src/app.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app.css b/src/app.css index e61c04b2..fe1c15fb 100644 --- a/src/app.css +++ b/src/app.css @@ -477,9 +477,11 @@ a.mention span { height: auto; max-height: 100vh; max-height: 100dvh; + vertical-align: middle; } .carousel > * video { min-height: 80px; + max-height: 80vh; /* prevent other UI elements from obscuring video */ } .carousel-top-controls {