diff --git a/src/components/shop/ProductCard.jsx b/src/components/shop/ProductCard.jsx index 61edd15a..cbd9ac00 100644 --- a/src/components/shop/ProductCard.jsx +++ b/src/components/shop/ProductCard.jsx @@ -35,7 +35,9 @@ function ProductCard({ product }) { className="flex justify-between pr-1" >

- {product.name} + {product.name.length > 15 + ? `${product.name.slice(0, 18)}...` + : product.name}

{totalStock > 0 ? (