Skip to content

Commit 4e86cc8

Browse files
committed
fix: edit layout ver3
1 parent bb4f95c commit 4e86cc8

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

src/components/price/CurrentPriceItem.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function CurrentPriceItem(props) {
5454
{price_decline ? price_decline : "변동률"}
5555
</Text>
5656
</TextContainer>
57-
<Button className="delete" title="추가" onClick={handler} />
57+
<Button className="green" title="추가" onClick={handler} />
5858
</Container>
5959
);
6060
}

src/pages/LandingPage.jsx

+10-8
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const UserContainer = styled.div`
8383
`;
8484

8585
const ShoppingContainer = styled.div`
86-
min-height: 180px;
86+
min-height: 100px;
8787
display: flex;
8888
flex-direction: column;
8989
justify-content: center;
@@ -94,9 +94,11 @@ const ShoppingContainer = styled.div`
9494
const TrendContainer = styled.div`
9595
display: flex;
9696
flex-wrap: wrap;
97+
height: 120px;
98+
align-items: center;
99+
margin: 0 auto;
97100
gap: 20px;
98101
padding: 0 95px;
99-
margin-top: 20px;
100102
`;
101103

102104
function LandingPage() {
@@ -207,18 +209,18 @@ function LandingPage() {
207209
장바구니 상품을 관리해보세요!
208210
</SubTitleText>
209211
</TextContainer>
210-
<ShoppingContainer>
211-
<ShoppingBudget hideButtons={true} />
212-
<Wrapper>
213-
<ShoppingList hideButtons={true} />
214-
</Wrapper>
215-
</ShoppingContainer>
216212
<Button
217213
title="장바구니 수정하기"
218214
className="yellow"
219215
onClick={() => navigate("/shopping")}
220216
/>
221217
</UserContainer>
218+
<ShoppingContainer>
219+
<ShoppingBudget hideButtons={true} />
220+
<Wrapper>
221+
<ShoppingList hideButtons={true} />
222+
</Wrapper>
223+
</ShoppingContainer>
222224
</>
223225
) : (
224226
<>

0 commit comments

Comments
 (0)