rangeslider.js icon indicating copy to clipboard operation
rangeslider.js copied to clipboard

How to change size of track

Open k-yle opened this issue 7 years ago • 0 comments

Hi, this seams like something really simple, but I can't figure it out. I would like to make a vertical slider wider, so the whole thing (track + thumb) is wider, but i can't seem to do that using the css width attribute on the wrapper div like you can do with height.

The following code correctly sets the height of the vertical slider to 500px, but the width remains at the default value of ca. 20px instead of 150px.

    <div style="height:500px;width:150px;">
        <input type="range" min="0" max="100" data-rangeslider data-orientation="vertical">
    </div>

Screenshot: image

k-yle avatar Sep 27 '18 05:09 k-yle