Fix videos being cropped

This commit is contained in:
Thibaut Girka 2018-09-04 22:34:52 +02:00 committed by ThibG
parent 9002ec066a
commit 58fc8be184
2 changed files with 1 additions and 2 deletions

View file

@ -298,7 +298,6 @@
max-width: 100vw; max-width: 100vw;
max-height: 80vh; max-height: 80vh;
z-index: 1; z-index: 1;
object-fit: cover;
position: relative; position: relative;
} }

View file

@ -736,7 +736,7 @@
.status__video-player-video { .status__video-player-video {
height: 100%; height: 100%;
object-fit: cover; object-fit: contain;
position: relative; position: relative;
top: 50%; top: 50%;
transform: translateY(-50%); transform: translateY(-50%);