making slider vertical
This commit is contained in:
@@ -4904,3 +4904,7 @@ table thead .checkbox.radio { margin-top:-7px;margin-top:-21px; }
|
|||||||
overflow: auto !important;
|
overflow: auto !important;
|
||||||
/*prevent datatables overflowing its container*/
|
/*prevent datatables overflowing its container*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.noUi-target {
|
||||||
|
height: 300px;
|
||||||
|
}
|
||||||
@@ -113,11 +113,16 @@
|
|||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="x_content">
|
<div class="x_content">
|
||||||
<p>
|
<div class="row">
|
||||||
|
<div class="col-xs-11">
|
||||||
<canvas id="medianOfFreeBedsByKreis"></canvas>
|
<canvas id="medianOfFreeBedsByKreis"></canvas>
|
||||||
</p>
|
</div>
|
||||||
|
<div class="col-xs-1">
|
||||||
<div id="slider"></div>
|
<div id="slider"></div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="clearfix"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ function createSlider(sliderElement, range, onUpdate) {
|
|||||||
connect: true,
|
connect: true,
|
||||||
range: range,
|
range: range,
|
||||||
step: 1,
|
step: 1,
|
||||||
orientation: 'horizontal'
|
orientation: 'vertical'
|
||||||
});
|
});
|
||||||
sliderElement.noUiSlider.on('update', onUpdate);
|
sliderElement.noUiSlider.on('update', onUpdate);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user