yairEO/ui-range

Increase min-max distance before bringing min down

Aperta

#2 aperta il 16 giu 2022

 (1 commento) (0 reazioni) (0 assegnatari)SCSS (11 fork)github user discovery
help wanted

Metriche repository

Star
 (121 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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!

Guida contributor