From 3f2ff1475676ba47a841796e39e7d17d627e5356 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Tue, 21 Feb 2023 14:46:24 +0700
Subject: fix

---
 src/lib/cart/components/Cart.jsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/lib/cart/components/Cart.jsx')

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) : ' - ' }
+              &nbsp;{ selectedProduct().length > 0 ? currencyFormat(totalPriceBeforeTax - totalDiscountAmount + totalTaxAmount) : '-' }
             </span>
           </div>
         </div>
-- 
cgit v1.2.3

