Bartosz Dziewoński has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/356066 )
Change subject: mw.widgets.DateInputWidget: Remove accidental 'user-select' on
PHP widget's input
......................................................................
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
---
M resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less
1 file changed, 4 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/66/356066/1
diff --git a/resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less
b/resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less
index cad2b02..3ecdea8 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;
--
To view, visit https://gerrit.wikimedia.org/r/356066
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6e58a38a1d5a8fb4b581734b02cc4f12640b4a75
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewoński <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits