jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/382861 )

Change subject: HTMLForm: Mangle excessive whitespace
......................................................................


HTMLForm: Mangle excessive whitespace

Addressing excessive whitespace in OOUIfied HTMLForms by
- setting form `line-height` to `1.4` in order to
  override core and
- explicitely setting header label `line-height`
  as well.

Bug: T177668
Depends-on: I6463bb204c0000d89fd12a39c4f3c571be0ffc37
Change-Id: I8f503dd5305aef856c6b842c0fdd95522871dca3
---
M resources/src/mediawiki/htmlform/ooui.styles.less
1 file changed, 6 insertions(+), 0 deletions(-)

Approvals:
  Ladsgroup: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/resources/src/mediawiki/htmlform/ooui.styles.less 
b/resources/src/mediawiki/htmlform/ooui.styles.less
index 43acb3a..84d462e 100644
--- a/resources/src/mediawiki/htmlform/ooui.styles.less
+++ b/resources/src/mediawiki/htmlform/ooui.styles.less
@@ -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%;
        }

-- 
To view, visit https://gerrit.wikimedia.org/r/382861
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8f503dd5305aef856c6b842c0fdd95522871dca3
Gerrit-PatchSet: 5
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: VolkerE <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to