From b5841ec51fd01ffa8d94670c9e14ad030c4b35ae Mon Sep 17 00:00:00 2001 From: Volker E Date: Mon, 17 Dec 2018 22:16:28 -0800 Subject: [PATCH] HTMLForm OOUI Flatlist: Reduce `margin` slightly When provided without label, flatlists are in general modificators logically connected to the input above as seen on Special:BlockList for example. Reducing the `margin` slightly helps to visually emphasize the connection. Bug: T177683 Change-Id: Ice666e54e440f97d177580ac258dfbed1577da0a --- resources/src/mediawiki.htmlform.ooui.styles.less | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/src/mediawiki.htmlform.ooui.styles.less b/resources/src/mediawiki.htmlform.ooui.styles.less index 8f1d563ebd..18fb4a2238 100644 --- a/resources/src/mediawiki.htmlform.ooui.styles.less +++ b/resources/src/mediawiki.htmlform.ooui.styles.less @@ -87,6 +87,8 @@ margin-right: @ooui-spacing-medium; } +// First selector is flatlist specific +.mw-htmlform-field-HTMLMultiSelectField.oo-ui-fieldLayout, .mw-htmlform-ooui .htmlform-tip, .mw-htmlform-ooui .mw-htmlform-submit-buttons { margin-top: @ooui-spacing-medium; -- 2.20.1