Special:Preferences OOUI: Reduce width of number inputs to 10em
authorEd Sanders <esanders@wikimedia.org>
Sat, 8 Sep 2018 13:33:59 +0000 (14:33 +0100)
committerVolkerE <volker.e@wikimedia.org>
Mon, 10 Sep 2018 16:14:21 +0000 (16:14 +0000)
Bug: T181844
Change-Id: I23e2e98a389a609145fa451902e62ca53b83c72e

resources/src/mediawiki.special.preferences.styles.ooui.less

index f83dcb0..57e9e07 100644 (file)
        }
 }
 
+/* Compact number inputs, used at "Display options" on "Recent changes" */
+.mw-htmlform-field-HTMLFloatField,
+.mw-htmlform-field-HTMLIntField {
+       max-width: 10em;
+}
+
 /* Expand the dropdown and textfield of "Time zone" field to the */
 /* usual maximum width and display them on separate lines. */
 #wpTimeCorrection .oo-ui-dropdownInputWidget,