We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b48c7f1 commit 2ce1938Copy full SHA for 2ce1938
src/fields/fieldNoUiSlider.vue
@@ -1,5 +1,5 @@
1
-<template lang="jade">
2
- div.slider(:disabled="disabled")
+<template>
+ <div class="slider" :disabled="disabled" :class="{ 'contain-pips': typeof schema.noUiSliderOptions.pips !== 'undefined', 'contain-tooltip': schema.noUiSliderOptions.tooltips }"></div>
3
</template>
4
5
<script>
@@ -91,7 +91,16 @@
91
.field-wrap {
92
display: block;
93
}
94
-
+ .contain-pips {
95
+ margin-bottom: 30px;
96
+ }
97
+ .contain-tooltip {
98
+ margin-top: 30px;
99
100
+ .noUi-vertical {
101
+ height: 200px;
102
+ margin: 10px 0;
103
104
105
106
</style>
0 commit comments