These styles should apply to all OOUI HTMLForms (and they already were
accidentally being applied to the form on Special:ProtectedPages).
Move them to mediawiki.htmlform.ooui.styles.less.
Change-Id: Ie51fbbd997648495779c822c421bbfb4a3ea74c4
width: 100%;
}
+ // Default OOUI styles produce a larger margin here
+ .mw-htmlform-field-HTMLSizeFilterField {
+ margin-top: @ooui-spacing-medium;
+ }
+
.mw-htmlform-matrix {
border-spacing: 0 2px;
@ooui-spacing-medium: 12 / @ooui-font-size-browser / @ooui-font-size-base; // equals `0.8571429em`≈`12px`
@ooui-spacing-large: 16 / @ooui-font-size-browser / @ooui-font-size-base; // equals `1.1428571em`≈`16px`
-.mw-htmlform-ooui .mw-htmlform-field-HTMLSizeFilterField,
.mw-htmlform-ooui .mw-htmlform-submit-buttons + div {
margin-top: @ooui-spacing-medium;
}