diff --git a/src/components/Cart.ts b/src/components/Cart.ts index 31acd33..72426ea 100644 --- a/src/components/Cart.ts +++ b/src/components/Cart.ts @@ -61,7 +61,7 @@ export default class Cart extends Component { ({ quantity, imageUrl, name, optionName, price, optionPrice }, idx) => `
  • -
    +
    ${name} ${optionName} ${quantity}개
    ${toComma(quantity * (+price + optionPrice))}원
    diff --git a/style.css b/style.css index 4a51740..ebb28dc 100644 --- a/style.css +++ b/style.css @@ -96,6 +96,7 @@ body { .ProductDetail { display: flex; + flex-wrap: wrap; flex-direction: row; background-color: #fff; padding-top: 2rem; @@ -254,7 +255,7 @@ body { margin-right: 16px; } -.Cart__itemDesription { +.Cart__itemDescription { width: 100%; align-self: center; display: flex;