Skip to content

Commit ee7d5de

Browse files
committed
Other - Slicer - Minor adjustment
1 parent 4422ace commit ee7d5de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/atoms/Slicer.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ const highlightStyle = computed(() => {
6363
const startPercent = ((startValue.value - props.min) / range) * 100;
6464
const endPercent = ((endValue.value - props.min) / range) * 100;
6565
return {
66-
left: `calc(${startPercent}% + 2px)`,
67-
width: `calc(${endPercent - startPercent - 1}% + 5px)`,
66+
left: `calc(${startPercent}% + 5px)`,
67+
width: `${endPercent - startPercent - 1}%`,
6868
background: props.selectColor
6969
};
7070
});

0 commit comments

Comments
 (0)