Use pointer-events: none on magnifying glass to prevent submit button behavior and tooltips

Follow up from Ibab9992a6aa3a60f83324b40017b53fb061991d7 (please refer
to that commit message), but using `pointer-events: none` to remove all
submit button behavior (submit behavior, cursor change, and tooltip).

Bug: T270202
Change-Id: I2bd8e88f1f497cc3b2d88c7fdad33c812d13a40a
This commit is contained in:
Nicholas Ray 2021-01-13 16:25:03 -07:00
parent 7273a5194c
commit de88675570

View file

@ -80,11 +80,12 @@
// Move & resize search icon to match WVUI.
#searchButton,
#mw-searchButton {
// T270202: Cursor should be an arrow instead of a pointer when hovering
// over the magnifying glass before WVUI loads to discourage people
// clicking on it since it is a submit button styled to look like WVUI's
// inert start icon.
cursor: default;
// T270202: Act like a an inert element instead of a submit button before
// WVUI loads to discourage people clicking on it since it is a submit
// button styled to look like WVUI's inert start icon. Note, ideally these
// submit buttons should be changed to inert elements like span to be
// semantically correct.
pointer-events: none;
// Override the default right & left position of the icon.
right: auto;
// Accounts for the 1px input border. Derived from