yairEO/ui-range

Increase min-max distance before bringing min down

开放

#2 创建于 2022年6月16日

 (1 条评论) (0 个反应) (0 位负责人)SCSS (11 个派生)github user discovery
help wanted

仓库指标

星标
 (121 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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!

贡献者指南