From 5ca68877a9a2dc89f9525a6528bf3a40a4920469 Mon Sep 17 00:00:00 2001 From: Volker E Date: Mon, 23 Sep 2019 12:08:21 -0700 Subject: [PATCH] Amend expanded HTMLForm legend styling Follow-up to I6964296bc68705 providing same top and bottom padding when expanded. Change-Id: Ib69f730f9fa713bc8a6d7bf0fdbb7a6d26b1f0ab --- resources/src/mediawiki.htmlform.ooui.styles.less | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; - } } } -- 2.20.1