diff --git a/components/cart/CartItem/CartItem.module.css b/components/cart/CartItem/CartItem.module.css index 6165b05ed..c0830b924 100644 --- a/components/cart/CartItem/CartItem.module.css +++ b/components/cart/CartItem/CartItem.module.css @@ -7,3 +7,11 @@ .quantity::-webkit-inner-spin-button { @apply appearance-none m-0; } + +.productImage { + position: absolute; + top: 0; + left: -10px; + top: 15px; + transform: scale(1.9); +} diff --git a/components/cart/CartItem/CartItem.tsx b/components/cart/CartItem/CartItem.tsx index 758fec2d5..7d092f6aa 100644 --- a/components/cart/CartItem/CartItem.tsx +++ b/components/cart/CartItem/CartItem.tsx @@ -3,7 +3,7 @@ import usePrice from '@lib/bigcommerce/use-price' import useUpdateItem from '@lib/bigcommerce/cart/use-update-item' import useRemoveItem from '@lib/bigcommerce/cart/use-remove-item' import { ChangeEvent, useEffect, useState } from 'react' -import styles from './CartItem.module.css' +import s from './CartItem.module.css' const CartItem = ({ item, @@ -58,10 +58,7 @@ const CartItem = ({ return (