Add max-size for video elements
authorjoshuaruesweg <ruesweg@woltlab.com>
Mon, 22 Jun 2020 15:31:39 +0000 (17:31 +0200)
committerjoshuaruesweg <ruesweg@woltlab.com>
Mon, 22 Jun 2020 15:31:39 +0000 (17:31 +0200)
Firefox needs the specification for video elements, otherwise they are displayed in their original size.

wcfsetup/install/files/style/bbcode/media.scss

index 35e7c241a4e510ac3e9b016a9d9473b8785728f3..12baf263c0cc6e7ef0dc68f5b483ad5841b5da3e 100644 (file)
                
                @include wcfFontSmall;
        }
+       
+       video {
+               max-width: 100%;
+       }
 }
 
 /* workaround for broken iframes without height on mobile */