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/product/components/ProductCard.jsx | |
| parent | 98910cc03fe1c4779396a5e376184c5d4f5b86b4 (diff) | |
page loader
Diffstat (limited to 'src/lib/product/components/ProductCard.jsx')
| -rw-r--r-- | src/lib/product/components/ProductCard.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
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} |
