From 5d99de0796d1e700348912e4c08e845ee7c0b2cf Mon Sep 17 00:00:00 2001 From: joshuaruesweg Date: Mon, 22 Jun 2020 17:31:39 +0200 Subject: [PATCH] Add max-size for video elements Firefox needs the specification for video elements, otherwise they are displayed in their original size. --- wcfsetup/install/files/style/bbcode/media.scss | 4 ++++ 1 file changed, 4 insertions(+) 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 */ -- 2.20.1