From: Irie Aoi Date: Thu, 23 Apr 2020 13:49:33 +0000 (+0900) Subject: Set max-width and max-height to gif video (#13533) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=c5c8f680317a182c4794505007ef227a4294a18e;p=mastodon.git Set max-width and max-height to gif video (#13533) --- 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%;