Skip to content

Commit

Permalink
design: 2차 UI 수정 (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
shinhyojeong committed Jan 30, 2024
2 parents 819baf7 + 300003d commit a3ccb84
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 18 deletions.
10 changes: 0 additions & 10 deletions src/components/home/ProductItem/styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,7 @@ import styled from '@emotion/styled'
import { Image, ToggleButton } from '@offer-ui/react'

const Container = styled.div`
flex: 1 0 22%;
max-width: 25%;
cursor: pointer;
${({ theme }) => theme.mediaQuery.mobile} {
flex: 1 0 44%;
max-width: 48%;
}
`

const ProductImg = styled(Image)`
Expand Down
12 changes: 6 additions & 6 deletions src/components/home/ProductList/styled.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
import styled from '@emotion/styled'

const ProductListWrapper = styled.div`
display: flex;
flex-wrap: wrap;
gap: 30px;
justify-content: start;
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 28px 30px;
margin-top: 20px;
${({ theme }): string => theme.mediaQuery.tablet} {
gap: 18px 20px;
gap: 20px 15px;
margin-top: 20px;
}
${({ theme }): string => theme.mediaQuery.mobile} {
gap: 8px 20px;
grid-template-columns: repeat(2, 1fr);
gap: 20px 8px;
margin-top: 16px;
}
Expand Down
4 changes: 2 additions & 2 deletions src/pages/messagebox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ const MessageBoxPage = ({ roomId: defaultRoomId }: Props): ReactElement => {
<MessageBoxPlaceholder
image={{
url: IMAGE.MAIL,
width: '90px',
height: '90px'
width: '81px',
height: '67px'
}}
message={`쪽지 내역이 없어요.\n구매하고 싶은 상품에 가격을 제안해보세요.`}
/>
Expand Down

0 comments on commit a3ccb84

Please sign in to comment.