summaryrefslogtreecommitdiff
path: root/src/lib/product/components/ProductCard.jsx
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-05-16 14:03:41 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-05-16 14:03:41 +0700
commitdd5aec9566205c7fefec9c0cdbd04b0f8ecb67d0 (patch)
treeffb171f3e386df224400a5477afa589372add54e /src/lib/product/components/ProductCard.jsx
parent0f26d4f8edb2c3f24f4d85425910427e4d91f237 (diff)
fixing layout
Diffstat (limited to 'src/lib/product/components/ProductCard.jsx')
-rw-r--r--src/lib/product/components/ProductCard.jsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/product/components/ProductCard.jsx b/src/lib/product/components/ProductCard.jsx
index 9a5fe9a2..8b48cf06 100644
--- a/src/lib/product/components/ProductCard.jsx
+++ b/src/lib/product/components/ProductCard.jsx
@@ -36,7 +36,7 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => {
product?.manufacture?.name,
product?.manufacture.id
)}
- className='mb-1 font-normal'
+ className='mb-1'
>
{product.manufacture.name}
</Link>
@@ -45,7 +45,7 @@ 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 block ${
+ className={`mb-2 !text-gray_r-12 leading-6 block ${
simpleTitle ? 'line-clamp-2 h-12' : 'line-clamp-3 h-[64px]'
}`}
title={product?.name}
@@ -108,7 +108,7 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => {
product?.manufacture?.name,
product?.manufacture.id
)}
- className='mb-1 font-normal'
+ className='mb-1'
>
{product.manufacture.name}
</Link>
@@ -117,7 +117,7 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => {
)}
<Link
href={createSlug('/shop/product/', product?.name, product?.id)}
- className={`font-normal mb-2 !text-gray_r-12 ${
+ className={`mb-2 !text-gray_r-12 leading-6 ${
simpleTitle ? 'line-clamp-2' : 'line-clamp-3'
}`}
>