From: joshuaruesweg Date: Mon, 22 Jun 2020 15:31:39 +0000 (+0200) Subject: Add max-size for video elements X-Git-Tag: 5.3.0_Alpha_1~198^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5d99de0796d1e700348912e4c08e845ee7c0b2cf;p=GitHub%2FWoltLab%2FWCF.git Add max-size for video elements Firefox needs the specification for video elements, otherwise they are displayed in their original size. --- diff --git a/wcfsetup/install/files/style/bbcode/media.scss b/wcfsetup/install/files/style/bbcode/media.scss index 35e7c241a4..12baf263c0 100644 --- a/wcfsetup/install/files/style/bbcode/media.scss +++ b/wcfsetup/install/files/style/bbcode/media.scss @@ -10,6 +10,10 @@ @include wcfFontSmall; } + + video { + max-width: 100%; + } } /* workaround for broken iframes without height on mobile */