about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-04-14 21:47:56 +0200
committerThibaut Girka <thib@sitedethib.com>2018-04-14 21:47:56 +0200
commit5cc7c4b9208fe515475d0c7343023d14e3c6bd2e (patch)
tree65019cb69bdd3506f393450dcb99ed0eea1a75d6 /app/javascript
parent95a892accdb6a081447117f49c66431dc7e032fb (diff)
Fix extended video player (gifv) modal size
It was currently full-size
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/flavours/glitch/styles/components/media.scss12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/media.scss b/app/javascript/flavours/glitch/styles/components/media.scss
index 03e7aba67..788295058 100644
--- a/app/javascript/flavours/glitch/styles/components/media.scss
+++ b/app/javascript/flavours/glitch/styles/components/media.scss
@@ -161,6 +161,12 @@
   max-width: 100vw;
   max-height: 100vh;
   position: relative;
+}
+
+.media-modal {
+  width: 100%;
+  height: 100%;
+  position: relative;
 
   .extended-video-player {
     width: 100%;
@@ -176,12 +182,6 @@
   }
 }
 
-.media-modal {
-  width: 100%;
-  height: 100%;
-  position: relative;
-}
-
 .media-modal__closer {
   position: absolute;
   top: 0;