Skip to content

Commit

Permalink
fix(UI): Add cursor pointer to range elements (#4059)
Browse files Browse the repository at this point in the history
Since range elements are special input elements, they must reflect user
interaction, so when the user hovers over the range element, the cursor must be a pointer.

Issue #3220
  • Loading branch information
Álvaro Velad Galván authored and joeyparrish committed Apr 21, 2022
1 parent 612133e commit 667962e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ui/less/range_elements.less
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@
/* The track should fill the range element. */
width: 100%;

/* Since range elements are special input elements, they must reflect user
* interaction, so when the user hovers over the range element, the cursor
* must be a pointer. */
cursor: pointer;

/* The track should be tall enough to contain the thumb without clipping it.
* It is very tricky to make the thumb show outside the track on IE 11, and
* it is incompatible with our background gradients. */
Expand Down

0 comments on commit 667962e

Please sign in to comment.