diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-04-10 16:29:48 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-04-10 16:29:48 +0700 |
| commit | 8dea9e9242aca8bf003a7c2f69c96abafbf77e6d (patch) | |
| tree | d53523924e6d8382876b8182a0724a54e6316734 /src/lib | |
| parent | 98910cc03fe1c4779396a5e376184c5d4f5b86b4 (diff) | |
page loader
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/invoice/components/Invoice.jsx | 2 | ||||
| -rw-r--r-- | src/lib/product/components/ProductCard.jsx | 4 | ||||
| -rw-r--r-- | src/lib/transaction/components/Transaction.jsx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/invoice/components/Invoice.jsx b/src/lib/invoice/components/Invoice.jsx index 1094e2e4..7559779b 100644 --- a/src/lib/invoice/components/Invoice.jsx +++ b/src/lib/invoice/components/Invoice.jsx @@ -200,7 +200,7 @@ const Invoice = ({ id }) => { product?.parent.name, product?.parent.id )} - className='w-[30%] flex-shrink-0' + className='w-[25%] flex-shrink-0' > <Image src={product?.parent?.image} diff --git a/src/lib/product/components/ProductCard.jsx b/src/lib/product/components/ProductCard.jsx index f85a0b03..a1c30d00 100644 --- a/src/lib/product/components/ProductCard.jsx +++ b/src/lib/product/components/ProductCard.jsx @@ -39,8 +39,8 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => { )} <Link href={createSlug('/shop/product/', product?.name, product?.id)} - className={`font-normal mb-2 !text-gray_r-12 leading-6 ${ - simpleTitle ? 'line-clamp-2' : 'line-clamp-3' + className={`font-normal mb-2 !text-gray_r-12 leading-6 block ${ + simpleTitle ? 'line-clamp-2 h-12' : 'line-clamp-3 h-[64px]' }`} > {product?.name} diff --git a/src/lib/transaction/components/Transaction.jsx b/src/lib/transaction/components/Transaction.jsx index ad59f8dd..7dfb13fb 100644 --- a/src/lib/transaction/components/Transaction.jsx +++ b/src/lib/transaction/components/Transaction.jsx @@ -368,7 +368,7 @@ const Transaction = ({ id }) => { product?.parent.name, product?.parent.id )} - className='w-[30%] flex-shrink-0' + className='w-[25%] flex-shrink-0' > <Image src={product?.parent?.image} |
