Fix videos being cropped

This commit is contained in:
Thibaut Girka 2018-09-04 22:34:52 +02:00 committed by ThibG
parent c0275cdcb2
commit a9ed9d3572
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%);