From 4b110c881c622d1bfe73a9ced7329a1cde5fb82b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Mon, 29 May 2017 18:22:33 +0200 Subject: [PATCH] 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 --- .../src/mediawiki.widgets/mw.widgets.DateInputWidget.less | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; -- 2.20.1