diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-02-21 14:46:24 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-02-21 14:46:24 +0700 |
| commit | 3f2ff1475676ba47a841796e39e7d17d627e5356 (patch) | |
| tree | be21a1cedf031a66eaf27621a0578a5086a9d335 /src/lib/cart/components | |
| parent | fdfb47c3a825258b871ac5921605642e5e05fdd8 (diff) | |
fix
Diffstat (limited to 'src/lib/cart/components')
| -rw-r--r-- | src/lib/cart/components/Cart.jsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/cart/components/Cart.jsx b/src/lib/cart/components/Cart.jsx index bb1f21f6..e7606582 100644 --- a/src/lib/cart/components/Cart.jsx +++ b/src/lib/cart/components/Cart.jsx @@ -141,7 +141,7 @@ const Cart = () => { </button> <Link href={createSlug('/shop/product/', product?.parent.name, product?.parent.id)} - className="w-3/12 flex-shrink-0" + className="w-[30%] flex-shrink-0" > <Image src={product?.parent?.image} alt={product?.name} className="object-contain object-center border border-gray_r-6 h-40 w-full rounded-md" /> </Link> @@ -182,7 +182,7 @@ const Cart = () => { - </button> <input - className="form-input w-10 border-0 border-b rounded-none py-1 px-0 text-center" + className="form-input w-6 border-0 border-b rounded-none py-1 px-0 text-center" type="number" value={product?.quantity} onChange={(e) => updateQuantity(e.target.value, product?.id)} @@ -213,7 +213,7 @@ const Cart = () => { <div className="text-gray_r-11"> Total: <span className="text-red_r-11 font-semibold"> - { selectedProduct().length > 0 ? currencyFormat(totalPriceBeforeTax - totalDiscountAmount + totalTaxAmount) : ' - ' } + { selectedProduct().length > 0 ? currencyFormat(totalPriceBeforeTax - totalDiscountAmount + totalTaxAmount) : '-' } </span> </div> </div> |
