From bc0524834e803882779cedc9a6db88638c1c3659 Mon Sep 17 00:00:00 2001 From: ncls7615 Date: Sun, 14 Jan 2018 09:25:35 +0900 Subject: [PATCH] Fix letterbox bug --- app/javascript/flavours/glitch/styles/components/media.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/app/javascript/flavours/glitch/styles/components/media.scss b/app/javascript/flavours/glitch/styles/components/media.scss index 785edf9ffd..3427fd5194 100644 --- a/app/javascript/flavours/glitch/styles/components/media.scss +++ b/app/javascript/flavours/glitch/styles/components/media.scss @@ -114,6 +114,7 @@ &, img { + height: 100%; width: 100%; object-fit: contain;