Skip to content

Commit a3582f9

Browse files
committed
chore: 🚨 fix lint errors
1 parent 0e995fe commit a3582f9

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

‎src/components/DsfrRange/DsfrRange.vue‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ const rangeStyle = computed(() => {
5050
const paddingRight = double.value ? 32 * (1 - ratioRight) : 0
5151
5252
return {
53-
"--progress-right": `${(ratioRight * inputWidth.value + paddingRight).toFixed(2)}px`,
54-
...(double.value ? {"--progress-left": `${(ratioLeft * inputWidth.value).toFixed(2)}px`} : {}),
55-
...(stepped.value ? {"--step-width": `${Math.floor(stepWidth)}px`} : {})
56-
};
53+
'--progress-right': `${(ratioRight * inputWidth.value + paddingRight).toFixed(2)}px`,
54+
...(double.value ? { '--progress-left': `${(ratioLeft * inputWidth.value).toFixed(2)}px` } : {}),
55+
...(stepped.value ? { '--step-width': `${Math.floor(stepWidth)}px` } : {}),
56+
}
5757
})
5858
5959
watch([() => props.modelValue, () => props.lowerValue], ([upper, lower]) => {
@@ -180,4 +180,3 @@ onMounted(() => {
180180
</div>
181181
</div>
182182
</template>
183-

0 commit comments

Comments
 (0)