]> cat aescling's git repositories - mastodon.git/commitdiff
Set max-width and max-height to gif video (#13533)
authorIrie Aoi <eai@mizle.net>
Thu, 23 Apr 2020 13:49:33 +0000 (22:49 +0900)
committerGitHub <noreply@github.com>
Thu, 23 Apr 2020 13:49:33 +0000 (15:49 +0200)
app/javascript/styles/mastodon/components.scss

index 26774ab43f759cbb63d6c0c541fe944588a84d10..beb3b3cfd5b4973903bb59264f4dc50d872cdb9e 100644 (file)
@@ -5575,6 +5575,13 @@ a.status-card.compact:hover {
   }
 }
 
+.gifv {
+  video {
+    max-width: 100vw;
+    max-height: 80vh;
+  }
+}
+
 .directory {
   &__list {
     width: 100%;