Make slider inline?
Closed this issue · 3 comments
amacfie commented
Is there a way to display the slider inline instead of as a block?
The output of this:
Label text: <slider style="display: inline;" ng-model="..."></slider>
is "Label text:" on a line above the slider. I'd like to get "Label text:" right before the slider on the same line.
seiyria commented
Set custom css for .slider
to have display: inline
.
amacfie commented
Thanks seiyria but that doesn't seem to be the solution http://jsfiddle.net/amacfie/e9hLLh6n/7/ ?
seiyria commented
That's because they also have width: 100% set on them. You should put them in separate containers like so (rough pseudocode):
<div width=30%>Slider: </div>
<div width="70%"><slider /></div>