File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ onMounted(() => {
165165 chart: minimapWrapper .value ,
166166 })
167167 svgMinimap .value .width = width;
168- svgMinimap .value .height = height - 47 ;
168+ svgMinimap .value .height = height - 59 ;
169169 });
170170
171171 resizeObserver .value = new ResizeObserver (handleResize);
@@ -258,7 +258,10 @@ 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 =" z-index : 0 " >
261+ <div class =" double-range-slider" ref =" minimapWrapper" :style =" {
262+ zIndex: 0,
263+ paddingBottom: hasMinimap ? '24px' : '12px'
264+ }" >
262265 <template v-if =" hasMinimap " >
263266 <div class =" minimap" style =" width : 100% " >
264267 <svg :xmlns =" XMLNS" :viewBox =" `0 0 ${svgMinimap.width < 0 ? 0 : svgMinimap.width} ${svgMinimap.height < 0 ? 0 : svgMinimap.height}`" >
@@ -342,7 +345,6 @@ const rightLabelPosition = computed(() => {
342345 width : calc (100% );
343346 height : 40px ;
344347 margin : 0 auto ;
345- padding-bottom : 12px ;
346348}
347349
348350.minimap {
You can’t perform that action at this time.
0 commit comments