about summary refs log tree commit diff
path: root/app/javascript/flavours
diff options
context:
space:
mode:
authorIrie Aoi <eai@mizle.net>2020-04-23 22:49:33 +0900
committerThibaut Girka <thib@sitedethib.com>2020-04-25 15:26:42 +0200
commit0f4a8a64877dfd2953e515043cefa87c1f031d14 (patch)
treed0e3fa4edcfe1ca5c5febafac7957c8cc3b2e1d8 /app/javascript/flavours
parentce33822e2c6367961945202057c7c31523ba1ab6 (diff)
[Glitch] Set max-width and max-height to gif video
Port c5c8f680317a182c4794505007ef227a4294a18e to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours')
-rw-r--r--app/javascript/flavours/glitch/styles/components/media.scss7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/media.scss b/app/javascript/flavours/glitch/styles/components/media.scss
index 3cb076191..dbf0c908d 100644
--- a/app/javascript/flavours/glitch/styles/components/media.scss
+++ b/app/javascript/flavours/glitch/styles/components/media.scss
@@ -691,3 +691,10 @@
     }
   }
 }
+
+.gifv {
+  video {
+    max-width: 100vw;
+    max-height: 80vh;
+  }
+}