#Slider thumb visibility
8 messages · Page 1 of 1 (latest)
You can customize component styles with Styles API
is it customizable just by styles? it seems i need to change the size to 0 when value is 0. not the best way. but --slider-bar-width is defined inside a js file
Change width styles instead of --slider-bar-width
this seems to fixed the issue. overflow hidden hides the extra parts, and padding: 0 gets back the lost width
@unkempt prawn , can you give some pointers how to set the width? do you mean calculate it dynamically and set it? my css works, but it's tricky if I want to keep rounded borders
If you do not want the filled section at all you can set width to 0 or hide it entirely with disaplay:none when the value is at its minimum
yes, that's what i meant by "hacky" if we're hiding it conditionally 🙂