From: Marcel Werk Date: Sun, 18 Dec 2016 11:09:54 +0000 (+0100) Subject: Fixed image overflow in .htmlContent X-Git-Tag: 3.0.0_RC_2~36 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e712bc20b80bf545cc70fab2b9d973feb27973e0;p=GitHub%2FWoltLab%2FWCF.git Fixed image overflow in .htmlContent --- diff --git a/wcfsetup/install/files/style/layout/global.scss b/wcfsetup/install/files/style/layout/global.scss index f6271ecf63..6a596039d3 100644 --- a/wcfsetup/install/files/style/layout/global.scss +++ b/wcfsetup/install/files/style/layout/global.scss @@ -96,6 +96,12 @@ ol.nativeList { /* simulate native HTML styles for certain elements */ .htmlContent { + @include clearfix; + + img { + max-width: 100%; + } + > :first-child { margin-top: 0 !important; } diff --git a/wcfsetup/install/files/style/ui/article.scss b/wcfsetup/install/files/style/ui/article.scss index d447210e5f..b54892601d 100644 --- a/wcfsetup/install/files/style/ui/article.scss +++ b/wcfsetup/install/files/style/ui/article.scss @@ -43,14 +43,6 @@ display: inline; } } - - .htmlContent { - @include clearfix; - - img { - max-width: 100%; - } - } } .articleAboutAuthor {