Skip to content

Commit bfb1edc

Browse files
committed
Design: MyPost 이미지 찌그러짐 수정
1 parent be68aa2 commit bfb1edc

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/pages/MyPost/styles.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ export const ImageWrapper = styled.div`
7575
`;
7676

7777
export const Image = styled.img`
78-
max-width: 512px;
79-
width: 390px;
80-
height: 519.326px;
81-
flex-shrink: 0;
78+
width: 100%;
79+
aspect-ratio: 3 / 4;
80+
height: auto;
81+
object-fit: cover;
8282
`;
8383

8484
export const IconRow = styled.div`

0 commit comments

Comments
 (0)