Skip to content

Commit a3ccb84

Browse files
authored
design: 2차 UI 수정 (#262)
2 parents 819baf7 + 300003d commit a3ccb84

File tree

3 files changed

+8
-18
lines changed

3 files changed

+8
-18
lines changed

src/components/home/ProductItem/styled.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,7 @@ import styled from '@emotion/styled'
33
import { Image, ToggleButton } from '@offer-ui/react'
44

55
const Container = styled.div`
6-
flex: 1 0 22%;
7-
8-
max-width: 25%;
9-
106
cursor: pointer;
11-
12-
${({ theme }) => theme.mediaQuery.mobile} {
13-
flex: 1 0 44%;
14-
15-
max-width: 48%;
16-
}
177
`
188

199
const ProductImg = styled(Image)`

src/components/home/ProductList/styled.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
import styled from '@emotion/styled'
22

33
const ProductListWrapper = styled.div`
4-
display: flex;
5-
flex-wrap: wrap;
6-
gap: 30px;
7-
justify-content: start;
4+
display: grid;
5+
grid-template-columns: repeat(4, 1fr);
6+
gap: 28px 30px;
87
98
margin-top: 20px;
109
1110
${({ theme }): string => theme.mediaQuery.tablet} {
12-
gap: 18px 20px;
11+
gap: 20px 15px;
1312
1413
margin-top: 20px;
1514
}
1615
${({ theme }): string => theme.mediaQuery.mobile} {
17-
gap: 8px 20px;
16+
grid-template-columns: repeat(2, 1fr);
17+
gap: 20px 8px;
1818
1919
margin-top: 16px;
2020
}

src/pages/messagebox/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ const MessageBoxPage = ({ roomId: defaultRoomId }: Props): ReactElement => {
126126
<MessageBoxPlaceholder
127127
image={{
128128
url: IMAGE.MAIL,
129-
width: '90px',
130-
height: '90px'
129+
width: '81px',
130+
height: '67px'
131131
}}
132132
message={`쪽지 내역이 없어요.\n구매하고 싶은 상품에 가격을 제안해보세요.`}
133133
/>

0 commit comments

Comments
 (0)