Special:Preferences OOUI: Limit `max-width` override to inputs only
authorVolker E <volker.e@wikimedia.org>
Mon, 10 Sep 2018 18:08:38 +0000 (11:08 -0700)
committerVolker E <volker.e@wikimedia.org>
Mon, 10 Sep 2018 18:08:38 +0000 (11:08 -0700)
Follow-up to I23e2e98a389a60

Change-Id: I08c41916418349172530204d070f12ef05b9246b

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

index 57e9e07..23cca21 100644 (file)
 /* Compact number inputs, used at "Display options" on "Recent changes" */
 .mw-htmlform-field-HTMLFloatField,
 .mw-htmlform-field-HTMLIntField {
-       max-width: 10em;
+       .oo-ui-inputWidget {
+               max-width: 10em;
+       }
 }
 
 /* Expand the dropdown and textfield of "Time zone" field to the */