Fixed image overflow in .htmlContent
authorMarcel Werk <burntime@woltlab.com>
Sun, 18 Dec 2016 11:09:54 +0000 (12:09 +0100)
committerMarcel Werk <burntime@woltlab.com>
Sun, 18 Dec 2016 11:09:54 +0000 (12:09 +0100)
wcfsetup/install/files/style/layout/global.scss
wcfsetup/install/files/style/ui/article.scss

index f6271ecf6335ef9200244350342fd56512902d6d..6a596039d34d656bcc34c4fc51a8012c0027a15d 100644 (file)
@@ -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;
        }
index d447210e5f34a5c455ad754ea4ad2121961981af..b54892601d7a4ff990288db8d90287afbf3a58aa 100644 (file)
                        display: inline;
                }
        }
-       
-       .htmlContent {
-               @include clearfix;
-               
-               img {
-                       max-width: 100%;
-               }
-       }
 }
 
 .articleAboutAuthor {