Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanAuyeung committed Apr 18, 2024
1 parent f96b62c commit 1429cd7
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 10 deletions.
2 changes: 0 additions & 2 deletions src/app/cart/styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -384,5 +384,3 @@ export const CategorySpacing = styled.div`
export const OrderSumSectionSpacing = styled.div`
margin-left: 195px;
`;


23 changes: 19 additions & 4 deletions src/app/orderConfirmationDelivery/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,25 @@ export default function OrderConfirmationDelivery() {
}}
/>
<LabelBox>
<div>
<span style={{ display: 'inline-block', fontWeight: 'bold', marginRight: '4px' }}>Quantity:</span>
<span style={{ display: 'inline-block', fontSize: '16px' }}>{cartItem.quantity}</span>
</div>
<div>
<span
style={{
display: 'inline-block',
fontWeight: 'bold',
marginRight: '4px',
}}
>
Quantity:
</span>
<span
style={{
display: 'inline-block',
fontSize: '16px',
}}
>
{cartItem.quantity}
</span>
</div>
</LabelBox>
</FavoriteDiv>
))}
Expand Down
25 changes: 21 additions & 4 deletions src/app/orderConfirmationPickUp/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export default function OrderConfirmationPickUp() {
<div>
<NavBar />
<CenterDiv>
<PageDiv>
<PageDiv>
<BackButtonDiv>
<BackButton destination="./storefront" />
</BackButtonDiv>
Expand Down Expand Up @@ -115,12 +115,29 @@ export default function OrderConfirmationPickUp() {
<LabelBox1>
<Body1Bold>{cartItem.name}</Body1Bold>
<br />
<Body2Light style={{ marginTop: '-10px' }}>Category: {cartItem.category}</Body2Light>
<Body2Light style={{ marginTop: '-10px' }}>
Category: {cartItem.category}
</Body2Light>
</LabelBox1>
<LabelBox>
<div>
<span style={{ display: 'inline-block', fontWeight: 'bold', marginRight: '4px' }}>Quantity:</span>
<span style={{ display: 'inline-block', fontSize: '16px' }}>{cartItem.quantity}</span>
<span
style={{
display: 'inline-block',
fontWeight: 'bold',
marginRight: '4px',
}}
>
Quantity:
</span>
<span
style={{
display: 'inline-block',
fontSize: '16px',
}}
>
{cartItem.quantity}
</span>
</div>
</LabelBox>
</FavoriteDiv>
Expand Down

0 comments on commit 1429cd7

Please sign in to comment.