From: Volker E Date: Mon, 23 Sep 2019 19:08:21 +0000 (-0700) Subject: Amend expanded HTMLForm legend styling X-Git-Tag: 1.34.0-rc.0~117 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=5ca68877a9a2dc89f9525a6528bf3a40a4920469;p=lhc%2Fweb%2Fwiklou.git Amend expanded HTMLForm legend styling Follow-up to I6964296bc68705 providing same top and bottom padding when expanded. Change-Id: Ib69f730f9fa713bc8a6d7bf0fdbb7a6d26b1f0ab --- diff --git a/resources/src/mediawiki.htmlform.ooui.styles.less b/resources/src/mediawiki.htmlform.ooui.styles.less index e345d412fa..22dc924b22 100644 --- a/resources/src/mediawiki.htmlform.ooui.styles.less +++ b/resources/src/mediawiki.htmlform.ooui.styles.less @@ -24,6 +24,10 @@ 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`. @@ -31,10 +35,6 @@ 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; - } } }