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

This commit is contained in:
jenkins-bot 2021-01-15 22:21:06 +00:00 committed by Gerrit Code Review
commit db5f1ebc1d
1 changed files with 6 additions and 5 deletions

View File

@ -79,11 +79,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