Skip to content

Commit 1effda2

Browse files
committed
Fix - Slicer - Removed additional left px
1 parent e5c88d3 commit 1effda2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/atoms/Slicer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ 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}% + 5px)`,
66+
left: `${startPercent}%`,
6767
width: `${endPercent - startPercent - 1}%`,
6868
background: props.selectColor
6969
};

0 commit comments

Comments
 (0)