From 101e6564fde67e233c76df3d848d269ab28217d3 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Mon, 9 Apr 2018 00:56:59 +0200 Subject: [Glitch] Refactor scss Port f691afaae913fdb3041864b2824ca092e092ba84 to glitch-soc --- .../flavours/glitch/styles/components/media.scss | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'app/javascript/flavours/glitch/styles/components/media.scss') diff --git a/app/javascript/flavours/glitch/styles/components/media.scss b/app/javascript/flavours/glitch/styles/components/media.scss index 588e8d558..f02940593 100644 --- a/app/javascript/flavours/glitch/styles/components/media.scss +++ b/app/javascript/flavours/glitch/styles/components/media.scss @@ -167,27 +167,6 @@ width: 100%; height: 100%; position: relative; - - img, - canvas, - video { - max-width: 100%; - /* - put margins on top and bottom of image to avoid the screen coverd by - image. - */ - max-height: 80%; - width: auto; - height: auto; - margin: auto; - } - - img, - canvas { - display: block; - background: url('~images/void.png') repeat; - object-fit: contain; - } } .media-modal__closer { -- cgit