Merge "HTMLForm: Mangle excessive whitespace"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sat, 7 Oct 2017 09:28:16 +0000 (09:28 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 7 Oct 2017 09:28:16 +0000 (09:28 +0000)
resources/src/mediawiki/htmlform/ooui.styles.less

index 43acb3a..84d462e 100644 (file)
@@ -1,6 +1,12 @@
 /* OOUIHTMLForm styles */
 
 .mw-htmlform-ooui {
+       line-height: 1.4; // Override MediaWiki's default of `1.6`
+
+       .oo-ui-fieldLayout.oo-ui-labelElement > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header {
+               line-height: 1.143; // equals `16px`
+       }
+
        .mw-htmlform-field-HTMLCheckMatrix {
                width: 100%;
        }