From: Bartosz DziewoƄski Date: Mon, 29 May 2017 16:22:33 +0000 (+0200) Subject: mw.widgets.DateInputWidget: Remove accidental 'user-select' on PHP widget's input X-Git-Tag: 1.31.0-rc.0~3106 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=4b110c881c622d1bfe73a9ced7329a1cde5fb82b;p=lhc%2Fweb%2Fwiklou.git mw.widgets.DateInputWidget: Remove accidental 'user-select' on PHP widget's input This is only meant to apply to the JS widget's handle. Also moved another block of CSS only meant to apply to the JS widget. This wasn't causing any actual issues though. Bug: T166416 Change-Id: I6e58a38a1d5a8fb4b581734b02cc4f12640b4a75 --- diff --git a/resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less b/resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less index cad2b02c9a..3ecdea859d 100644 --- a/resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less +++ b/resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less @@ -47,7 +47,6 @@ position: relative; .oo-ui-box-sizing( border-box ); width: 100%; - .oo-ui-unselectable(); cursor: pointer; padding: 0.5em 1em; border: 1px solid #a2a9b1; @@ -59,6 +58,10 @@ * Equal to line height + top padding + bottom padding */ height: 2.275em; + } + + &-handle { + .oo-ui-unselectable(); > .oo-ui-labelElement-label { padding: 0;