Skip to content

Commit c1fd9de

Browse files
committed
Slicer - Adjustments
1 parent 9ad4394 commit c1fd9de

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/atoms/Slicer.vue

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -248,16 +248,6 @@ const rightLabelPosition = computed(() => {
248248
</div>
249249
</div>
250250
<div class="double-range-slider" ref="minimapWrapper">
251-
<div class="slider-track"></div>
252-
<div class="range-highlight" :style="highlightStyle"></div>
253-
<input type="range" :min="min" :max="max" v-model="startValue" @input="onStartInput" />
254-
<div class="thumb-label thumb-label-left" :style="leftLabelPosition">
255-
{{ labelLeft }}
256-
</div>
257-
<input type="range" :min="min" :max="max" v-model="endValue" @input="onEndInput" />
258-
<div class="thumb-label thumb-label-right" :style="rightLabelPosition">
259-
{{ labelRight }}
260-
</div>
261251
<template v-if="hasMinimap">
262252
<div class="minimap" style="width: 100%">
263253
<svg :xmlns="XMLNS" :viewBox="`0 0 ${svgMinimap.width < 0 ? 0 : svgMinimap.width} ${svgMinimap.height < 0 ? 0 : svgMinimap.height}`">
@@ -290,6 +280,16 @@ const rightLabelPosition = computed(() => {
290280
</svg>
291281
</div>
292282
</template>
283+
<div class="slider-track"></div>
284+
<div class="range-highlight" :style="highlightStyle"></div>
285+
<input type="range" :min="min" :max="max" v-model="startValue" @input="onStartInput" />
286+
<div class="thumb-label thumb-label-left" :style="leftLabelPosition">
287+
{{ labelLeft }}
288+
</div>
289+
<input type="range" :min="min" :max="max" v-model="endValue" @input="onEndInput" />
290+
<div class="thumb-label thumb-label-right" :style="rightLabelPosition">
291+
{{ labelRight }}
292+
</div>
293293
</div>
294294
</div>
295295
</template>
@@ -404,7 +404,7 @@ input[type="range"]::-ms-thumb {
404404
405405
.vue-data-ui-refresh-button {
406406
position: absolute;
407-
right: 0;
407+
right: 3px;
408408
top: -20px;
409409
outline: none;
410410
border: none;

0 commit comments

Comments
 (0)