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 committed Mar 23, 2022
1 parent 0b04aec commit 33e8400
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ui/less/range_elements.less
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 33e8400

Please sign in to comment.