Skip to content

Commit 1dbc360

Browse files
committed
fix: 이미지 사이트가 넘치는 문제 수정
1 parent a7120fa commit 1dbc360

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/shop/src/components/features/product.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,7 @@ const ProductImageCard: React.FC<ProductImageCardPropType> = ({ language, produc
386386
src={product.image || ""}
387387
alt="Product Image"
388388
loading="lazy"
389+
style={{ width: "100%", height: "100%", maxWidth: "100%", maxHeight: "100%", objectFit: "contain" }}
389390
errorFallback={<Box sx={{ width: "100%", height: "100%", flexGrow: 1, backgroundColor: "#bbb", borderRadius: "0 0 0.5rem 0.5rem" }} />}
390391
/>
391392
</CardMedia>

0 commit comments

Comments
 (0)