mw.special.preferences: Widen the dropdown of the "Time zone" field
authorBartosz Dziewoński <matma.rex@gmail.com>
Tue, 28 Nov 2017 15:26:51 +0000 (16:26 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Tue, 28 Nov 2017 15:26:51 +0000 (16:26 +0100)
Same styles as for the "Reason" field on Special:Block
(b2a0e3aac8f70802a5f45cc7e7fbb0f9c517fb82).

Bug: T181433
Change-Id: I957226ce3764e1bcc14ea088cadf4531a1dd1886

resources/src/mediawiki.special/mediawiki.special.preferences.styles.css

index 6745695..0ee4ac2 100644 (file)
        display: inline-block;
        vertical-align: middle;
 }
+
+/* Expand the dropdown and textfield of "Time zone" field to the */
+/* usual maximum width and display them on separate lines. */
+#wpTimeCorrection .oo-ui-dropdownInputWidget,
+#wpTimeCorrection .oo-ui-textInputWidget {
+       display: block;
+       max-width: 50em;
+}
+
+#wpTimeCorrection .oo-ui-textInputWidget {
+       margin-top: 0.5em;
+}