From 1ba0967500844e0f56400162327fc394391535ef Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Sat, 24 Oct 2020 19:00:57 -0300 Subject: [PATCH] Stiling --- components/cart/CartItem/CartItem.module.css | 7 ++++--- components/cart/CartItem/CartItem.tsx | 13 +++++++------ components/ui/Text/Text.module.css | 4 ++++ components/ui/Text/Text.tsx | 4 +++- pages/cart.tsx | 11 +++++------ 5 files changed, 23 insertions(+), 16 deletions(-) diff --git a/components/cart/CartItem/CartItem.module.css b/components/cart/CartItem/CartItem.module.css index 618788020..70d29fc03 100644 --- a/components/cart/CartItem/CartItem.module.css +++ b/components/cart/CartItem/CartItem.module.css @@ -10,8 +10,9 @@ .productImage { position: absolute; - top: 0; - left: -10px; - top: 15px; transform: scale(1.9); + width: 100%; + height: 100%; + left: 30% !important; + top: 30% !important; } diff --git a/components/cart/CartItem/CartItem.tsx b/components/cart/CartItem/CartItem.tsx index f769a4fe1..cb3010d0f 100644 --- a/components/cart/CartItem/CartItem.tsx +++ b/components/cart/CartItem/CartItem.tsx @@ -55,18 +55,19 @@ const CartItem = ({ }, [item.quantity]) return ( -
  • -
    +
  • +
    -
    - {item.name} +
    + {item.name}
    ) : (
    -

    - My Cart -

    + My Cart + Review your Order
      {items.map((item) => ( ))}
    -
    +
    Before you leave, take a look at these items. We picked them just for you @@ -98,7 +97,7 @@ export default function Cart({}: InferGetStaticPropsType< )}
    -
    +
    • @@ -122,7 +121,7 @@ export default function Cart({}: InferGetStaticPropsType<