Fix videos being cropped

master
Thibaut Girka 6 years ago committed by ThibG
parent c0275cdcb2
commit a9ed9d3572
  1. 1
      app/javascript/flavours/glitch/styles/components/media.scss
  2. 2
      app/javascript/flavours/glitch/styles/components/status.scss

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

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

Loading…
Cancel
Save