Skip to content

Commit

Permalink
πŸ’„ css μˆ˜μ •
Browse files Browse the repository at this point in the history
  • Loading branch information
rieulp committed Oct 21, 2022
1 parent 6435e69 commit 9d335ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Cart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default class Cart extends Component<ICartState> {
({ quantity, imageUrl, name, optionName, price, optionPrice }, idx) =>
`<li class="Cart__item" data-idx="${idx}"><button class="deleteBtn">βœ–</button>
<img src="${imageUrl}">
<div class="Cart__itemDesription">
<div class="Cart__itemDescription">
<div>${name} ${optionName} ${quantity}개</div>
<div>${toComma(quantity * (+price + optionPrice))}원</div>
</div>
Expand Down
3 changes: 2 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ body {

.ProductDetail {
display: flex;
flex-wrap: wrap;
flex-direction: row;
background-color: #fff;
padding-top: 2rem;
Expand Down Expand Up @@ -254,7 +255,7 @@ body {
margin-right: 16px;
}

.Cart__itemDesription {
.Cart__itemDescription {
width: 100%;
align-self: center;
display: flex;
Expand Down

0 comments on commit 9d335ce

Please sign in to comment.