Skip to content

Commit

Permalink
design: cardStyle에 따른 1대1 사진 비율 유지 (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
KimKyuHoi authored Jan 12, 2025
1 parent 23670ab commit 07900a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/mypage/components/PostCardStyle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ export const PostCardBox = styled.div<PhotoCheck>`
}
&.photo {
background-repeat: no-repeat;
background-size: 100% 100%;
background-position: center;
background-size: contain;
z-index: 10;
margin-bottom: 16px;
@media (min-width: 1281px) {
Expand Down

0 comments on commit 07900a8

Please sign in to comment.