fix: 이미지 경로에 빈칸이 있는 경우

This commit is contained in:
2024-12-20 15:50:38 +00:00
parent 7b5613d032
commit b472440ec1
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -18,7 +18,7 @@
left: '0',
width: '100%',
height: `${props.height}px`,
backgroundImage: `url(${imagePath}/pr${props.height - 2}.gif)`,
backgroundImage: `url('${imagePath}/pr${props.height - 2}.gif')`,
backgroundRepeat: 'repeat-x',
backgroundPosition: 'center',
}"
@@ -30,7 +30,7 @@
left: '0',
width: `${clamp(props.percent, 0, 100)}%`,
height: `${props.height}px`,
backgroundImage: `url(${imagePath}/pb${props.height - 2}.gif)`,
backgroundImage: `url('${imagePath}/pb${props.height - 2}.gif')`,
backgroundRepeat: 'repeat-x',
backgroundPosition: 'left center',