Fix extended video player (gifv) modal size

It was currently full-size
master
Thibaut Girka 7 years ago
parent 95a892accd
commit 5cc7c4b920
  1. 12
      app/javascript/flavours/glitch/styles/components/media.scss

@ -161,6 +161,12 @@
max-width: 100vw; max-width: 100vw;
max-height: 100vh; max-height: 100vh;
position: relative; position: relative;
}
.media-modal {
width: 100%;
height: 100%;
position: relative;
.extended-video-player { .extended-video-player {
width: 100%; width: 100%;
@ -176,12 +182,6 @@
} }
} }
.media-modal {
width: 100%;
height: 100%;
position: relative;
}
.media-modal__closer { .media-modal__closer {
position: absolute; position: absolute;
top: 0; top: 0;

Loading…
Cancel
Save