[Glitch] Refactor scss

Port f691afaae9 to glitch-soc
This commit is contained in:
Thibaut Girka
2018-04-09 00:56:59 +02:00
parent a4fa8c9064
commit 101e6564fd
3 changed files with 26 additions and 28 deletions

View File

@@ -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 {