[Glitch] Fix media editing modal changing dimensions when image loads

Port 6ebd74f4fa to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
Eugen Rochko
2019-10-10 05:21:38 +02:00
committed by Thibaut Girka
parent 4ee167d89b
commit 877e8c9d79
5 changed files with 113 additions and 70 deletions

View File

@@ -878,7 +878,8 @@
background: $base-shadow-color;
img,
video {
video,
canvas {
display: block;
max-height: 80vh;
width: 100%;