[Glitch] Fix video player height

Port 5eea3f9877 to glitch-soc
This commit is contained in:
Thibaut Girka 2018-04-09 00:42:26 +02:00
parent c2b7080a6e
commit d8dea31e0c

View file

@ -161,6 +161,19 @@
max-width: 100vw;
max-height: 100vh;
position: relative;
.extended-video-player {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
video {
max-width: $media-modal-media-max-width;
max-height: $media-modal-media-max-height;
}
}
}
.media-modal {
@ -274,8 +287,8 @@
@include fullwidth-gallery;
video {
height: 100%;
width: 100%;
max-width: 100vw;
max-height: 80vh;
z-index: 1;
object-fit: cover;
position: relative;