yairEO/ui-range

Increase min-max distance before bringing min down

Aberta

#2 aberto em 16 de jun. de 2022

 (1 comentário) (0 reação) (0 responsável)SCSS (11 forks)github user discovery
help wanted

Métricas do repositório

Stars
 (121 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 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!

Guia do colaborador