]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Set max-width and max-height to gif video
authorIrie Aoi <eai@mizle.net>
Thu, 23 Apr 2020 13:49:33 +0000 (22:49 +0900)
committerThibaut Girka <thib@sitedethib.com>
Sat, 25 Apr 2020 13:26:42 +0000 (15:26 +0200)
Port c5c8f680317a182c4794505007ef227a4294a18e to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
app/javascript/flavours/glitch/styles/components/media.scss

index 3cb0761914f818247314cfca05f6d4b5ab68c748..dbf0c908d1d542417c6bc6e1bc27e923dab98a05 100644 (file)
     }
   }
 }
+
+.gifv {
+  video {
+    max-width: 100vw;
+    max-height: 80vh;
+  }
+}