yairEO/ui-range

Increase min-max distance before bringing min down

Open

#2 opened on Jun 16, 2022

 (1 comment) (0 reactions) (0 assignees)SCSS (11 forks)github user discovery
help wanted

Repository metrics

Stars
 (121 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

This isn't an issue, but I need to increase the minimum distance between min and max thumbs.

I have an range slider from 0 to 50 million, so, in case the chosen range is too next but higher values (eg. 30M and 32M), the labels are overlapping, instead bringing minimum value to bottom.

Checking SASS, I've found a --thumbs--too-close variable that stores a clamp function, but can't understand how it's working. Maybe this isn't the right place. So, I want to know how can I reduce the min threshold between min-max thumbs.

Thanks!

Contributor guide