[Glitch] Responsively enforce 16:9 ratio on video thumbnails in web UI
Port the video-player part of 036dd98abb
to
glitch-soc. MediaGallery part ignored since it has diverged quite a bit.
This fixes #423
This commit is contained in:
@ -307,7 +307,7 @@
|
||||
|
||||
&.inline {
|
||||
video {
|
||||
object-fit: cover;
|
||||
object-fit: contain;
|
||||
position: relative;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
|
Reference in New Issue
Block a user