about summary refs log tree commit diff
diff options
context:
space:
mode:
authorIrie Aoi <eai@mizle.net>2020-04-23 22:49:33 +0900
committerGitHub <noreply@github.com>2020-04-23 15:49:33 +0200
commitc5c8f680317a182c4794505007ef227a4294a18e (patch)
treec80a72503f73e91e5d39988b4fef78a0f9705cc0
parent80182eda622e1317bffb6729259b8a81d84251a2 (diff)
Set max-width and max-height to gif video (#13533)
-rw-r--r--app/javascript/styles/mastodon/components.scss7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index 26774ab43..beb3b3cfd 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -5575,6 +5575,13 @@ a.status-card.compact:hover {
   }
 }
 
+.gifv {
+  video {
+    max-width: 100vw;
+    max-height: 80vh;
+  }
+}
+
 .directory {
   &__list {
     width: 100%;