HTMLForms: Reduce `padding` on top as heading `line-height provides
authorVolker E <volker.e@wikimedia.org>
Sat, 7 Oct 2017 04:53:07 +0000 (21:53 -0700)
committerVolker E <volker.e@wikimedia.org>
Sat, 7 Oct 2017 04:53:07 +0000 (21:53 -0700)
Reducing `padding` on top of `.mw-htmlform-ooui-wrapper`
as heading's `line-height provides similar distance.

Bug: T177668
Change-Id: Ieb4c0d1a08f9b7f3481a64ada1638c98f53bc90a

resources/src/mediawiki/htmlform/ooui.styles.less

index 84d462e..1607489 100644 (file)
@@ -1,4 +1,7 @@
 /* OOUIHTMLForm styles */
+.mw-htmlform-ooui-wrapper.oo-ui-panelLayout-padded {
+       padding: 1em 1.25em 1.25em;
+}
 
 .mw-htmlform-ooui {
        line-height: 1.4; // Override MediaWiki's default of `1.6`