Skip to content

Commit 0c69553

Browse files
authored
[Merge/#25] Fix/#24/scrap-card-image-url
[Feat] 카드컴포넌트 배경이미지 경로 수정
2 parents 03a5633 + 4caa326 commit 0c69553

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/styles/components/ScrapListItemStyle.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import styled from "styled-components";
2+
import cardImageBg from "/src/assets/icons/ScrapItem.png";
23

34
export const Card = styled.div`
45
position: relative;
@@ -20,7 +21,7 @@ export const CardBackground = styled.div`
2021
position: relative;
2122
width: 100%;
2223
height: 100%;
23-
background-image: url("../../src/assets/icons/ScrapItem.png"); /* Card 배경 이미지 */
24+
background-image: url(${cardImageBg}); /* Card 배경 이미지 */
2425
background-size: cover;
2526
background-position: center;
2627
padding: 8px;

0 commit comments

Comments
 (0)