HTMLForm OOUI Flatlist: Reduce `margin` slightly
authorVolker E <volker.e@wikimedia.org>
Tue, 18 Dec 2018 06:16:28 +0000 (22:16 -0800)
committerVolker E <volker.e@wikimedia.org>
Tue, 18 Dec 2018 06:27:16 +0000 (22:27 -0800)
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

index 8f1d563..18fb4a2 100644 (file)
@@ -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;