about summary refs log tree commit diff
path: root/app/javascript/styles
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-10-10 05:21:38 +0200
committerGitHub <noreply@github.com>2019-10-10 05:21:38 +0200
commit6ebd74f4fa640b9616ebb2730d97722799c6ed56 (patch)
tree42fe837478cc6b3afc9da96eb226e5a7e959543f /app/javascript/styles
parent915f3712ae7ae44c0cbe50c9694c25e3ee87a540 (diff)
Fix media editing modal changing dimensions when image loads (#12131)
Diffstat (limited to 'app/javascript/styles')
-rw-r--r--app/javascript/styles/mastodon/components.scss3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index d9182ade9..86425c47c 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -6092,7 +6092,8 @@ noscript {
   background: $base-shadow-color;
 
   img,
-  video {
+  video,
+  canvas {
     display: block;
     max-height: 80vh;
     width: 100%;