Skip to content

Commit b51e225

Browse files
committed
Slicer - revert
1 parent ed73ba7 commit b51e225

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/atoms/Slicer.vue

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ onMounted(() => {
165165
chart: minimapWrapper.value,
166166
})
167167
svgMinimap.value.width = width;
168-
svgMinimap.value.height = height - 59;
168+
svgMinimap.value.height = height - 47;
169169
});
170170
171171
resizeObserver.value = new ResizeObserver(handleResize);
@@ -258,10 +258,7 @@ const rightLabelPosition = computed(() => {
258258
<slot v-else name="reset-action" :reset="reset" />
259259
</div>
260260
</div>
261-
<div class="double-range-slider" ref="minimapWrapper" :style="{
262-
zIndex: 0,
263-
paddingBottom: hasMinimap ? '24px' : '12px'
264-
}">
261+
<div class="double-range-slider" ref="minimapWrapper" style="z-index: 0">
265262
<template v-if="hasMinimap">
266263
<div class="minimap" style="width: 100%">
267264
<svg :xmlns="XMLNS" :viewBox="`0 0 ${svgMinimap.width < 0 ? 0 : svgMinimap.width} ${svgMinimap.height < 0 ? 0 : svgMinimap.height}`">
@@ -345,6 +342,7 @@ const rightLabelPosition = computed(() => {
345342
width: calc(100%);
346343
height: 40px;
347344
margin: 0 auto;
345+
padding-bottom: 12px;
348346
}
349347
350348
.minimap {

0 commit comments

Comments
 (0)