Skip to content

Commit

Permalink
Hotfix: 커피챗 디자인 QA 수정 (#1678)
Browse files Browse the repository at this point in the history
* feat: scroll error fix

* fix: 카드 margin 해결

* feat:  MO Tagsection Width 지정

* feat: MO Tagsection 수정
  • Loading branch information
hayounSong authored Nov 7, 2024
1 parent 1b6a80f commit f8ac3fe
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 19 deletions.
19 changes: 8 additions & 11 deletions src/components/coffeechat/CoffeeChatCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,19 +214,12 @@ const Container = styled(m.div)<{ isEmptyData?: boolean; isBlurred?: boolean; is
@media ${MB_BIG_MEDIA_QUERY} {
gap: 4px;
border-radius: 20px;
width: calc(100vw - 30px);
min-width: calc(100vw - 30px);
width: calc(100vw - 40px);
min-width: calc(100vw - 40px);
height:234px;
}
@media ${MB_MID_MEDIA_QUERY} {
width: 320px;
min-width: 320px;
}
@media ${MB_SM_MEDIA_QUERY} {
width: 280px;
min-width: 280px;
max-width: 280px;
}
`;

const Title = styled.div`
Expand Down Expand Up @@ -291,6 +284,7 @@ const ProfileSection = styled.div`
const ImageBox = styled.div`
position: relative;
width: 70px;
min-width:70px;
height: 70px;
clip-path: circle(50%);
`;
Expand Down Expand Up @@ -356,6 +350,9 @@ const TagSection = styled.div`
font-size: 11px !important;
}
}
@media ${MB_BIG_MEDIA_QUERY}{
width:100%;
}
`;

const InfoSection = styled.div`
Expand Down
13 changes: 5 additions & 8 deletions src/components/coffeechat/CoffeeRecentChatList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -369,15 +369,12 @@ const StyledScrollCarousel = styled(ScrollCarousel)`
}
@media ${MB_BIG_MEDIA_QUERY} {
width: 390px;
height: 298px;
}
@media ${MB_MID_MEDIA_QUERY} {
width: 320px;
}
@media ${MB_SM_MEDIA_QUERY} {
width: 280px;
padding-right:20px;
padding-left:20px;
width: 100%;
height: 100%;
}
`;

export const CardContainer = styled.div`
Expand Down

0 comments on commit f8ac3fe

Please sign in to comment.