Fixed floating issue in empty DDs
authorMarcel Werk <burntime@woltlab.com>
Mon, 6 Oct 2014 13:59:08 +0000 (15:59 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 6 Oct 2014 13:59:08 +0000 (15:59 +0200)
wcfsetup/install/files/style/form.less

index 2ec6ab9a74b8592d4d8ae84eceb1e33f3376ce8c..5eb421ffe86ba8bfa01eecb264f987f3009991ba 100644 (file)
@@ -41,7 +41,6 @@ dl:not(.plain) {
        }
        
        > dt {
-               clear: left;
                color: @wcfLabelColor;
                float: left;
                text-align: right;
@@ -121,6 +120,12 @@ dl:not(.plain) {
                > .innerError + label {
                        margin-top: 2px;
                }
+               
+               &:after {
+                       clear: left;
+                       content: "";
+                       display: block;
+               }
        }
        
        /* wide */