Skip to content

Commit 6061197

Browse files
committed
rm hover on mobile
1 parent af0abb8 commit 6061197

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/shop/ProductCard.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const ProductCard = ({ product }) => {
5252
<h3 className="text-lg font-bold text-gray-700">
5353
KES {addCommaSeparator(Number(product.price))}
5454
</h3>
55-
<div className="flex text-green-dark gap-2 items-center opacity-0 group-hover:opacity-100 transition-opacity cursor-pointer">
55+
<div className="flex text-green-dark gap-2 items-center md:opacity-0 md:group-hover:opacity-100 transition-opacity cursor-pointer">
5656
<MdAddShoppingCart size={20} />
5757
<p className="font-bold text-base">Add to cart</p>
5858
</div>

0 commit comments

Comments
 (0)