From: Volker E Date: Mon, 10 Sep 2018 18:08:38 +0000 (-0700) Subject: Special:Preferences OOUI: Limit `max-width` override to inputs only X-Git-Tag: 1.34.0-rc.0~4154 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres//%22%24url/%22?a=commitdiff_plain;h=bd7e7dfa639c699ab28beb1b84feae66889c7313;p=lhc%2Fweb%2Fwiklou.git Special:Preferences OOUI: Limit `max-width` override to inputs only Follow-up to I23e2e98a389a60 Change-Id: I08c41916418349172530204d070f12ef05b9246b --- diff --git a/resources/src/mediawiki.special.preferences.styles.ooui.less b/resources/src/mediawiki.special.preferences.styles.ooui.less index 57e9e073d2..23cca211f4 100644 --- a/resources/src/mediawiki.special.preferences.styles.ooui.less +++ b/resources/src/mediawiki.special.preferences.styles.ooui.less @@ -145,7 +145,9 @@ /* 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 */