about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorDavid Yip <yipdw@member.fsf.org>2018-04-16 14:41:18 -0500
committerGitHub <noreply@github.com>2018-04-16 14:41:18 -0500
commit1076204eb474d5d085f219aacf38f9889e35e494 (patch)
tree78b4fbdb7c755095725021d4420f6d36b29d69cd /app/javascript
parentd66192f21c22dd79735a6c3ea6e2ed115b42e0d0 (diff)
parent5cc7c4b9208fe515475d0c7343023d14e3c6bd2e (diff)
Merge pull request #425 from ThibG/glitch-soc/fixes/gifv-modal-size
Fix extended video player (gifv) modal 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;