Amend expanded HTMLForm legend styling
[lhc/web/wiklou.git] / resources / src / mediawiki.htmlform.ooui.styles.less
index e345d41..22dc924 100644 (file)
                padding: @ooui-spacing-small;
                // Make space for toggle icon defined below.
                padding-left: 24 / @ooui-font-size-browser / @ooui-font-size-base;
+
+               .oo-ui-labelElement-label {
+                       margin-bottom: 0;
+               }
        }
 
        // Trigger only when collapsible & JS is available via `.mw-collapsed`.
                min-height: 30px;
                // Negative margin to match the reduced distance on the top caused by the previous rule.
                margin-bottom: -@ooui-spacing-medium;
-
-               .oo-ui-labelElement-label {
-                       margin-bottom: 0;
-               }
        }
 }