diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-09-04 22:34:52 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-09-05 11:58:43 +0200 |
commit | a9ed9d3572da2737aa36a236d1aa89391fbba934 (patch) | |
tree | b462f1578cb0f14db2cc7abbb1f766150c4a109f /app/javascript/flavours/glitch/styles | |
parent | c0275cdcb2a4191da2e09bed77ccb2a271888d04 (diff) |
Fix videos being cropped
Diffstat (limited to 'app/javascript/flavours/glitch/styles')
-rw-r--r-- | app/javascript/flavours/glitch/styles/components/media.scss | 1 | ||||
-rw-r--r-- | app/javascript/flavours/glitch/styles/components/status.scss | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/media.scss b/app/javascript/flavours/glitch/styles/components/media.scss index ef7525941..40a144de4 100644 --- a/app/javascript/flavours/glitch/styles/components/media.scss +++ b/app/javascript/flavours/glitch/styles/components/media.scss @@ -298,7 +298,6 @@ max-width: 100vw; max-height: 80vh; z-index: 1; - object-fit: cover; position: relative; } diff --git a/app/javascript/flavours/glitch/styles/components/status.scss b/app/javascript/flavours/glitch/styles/components/status.scss index fbc26ed2a..b841d73c4 100644 --- a/app/javascript/flavours/glitch/styles/components/status.scss +++ b/app/javascript/flavours/glitch/styles/components/status.scss @@ -736,7 +736,7 @@ .status__video-player-video { height: 100%; - object-fit: cover; + object-fit: contain; position: relative; top: 50%; transform: translateY(-50%); |