Product Image Height And Padding For Description fixed

temp
Pedram Keshavarzi 3 years ago
parent fb18608356
commit 538f6cc110
  1. 4
      src/components/Product/index.js

@ -78,7 +78,7 @@ const ProductDesign = ({
<img <img
src={productImg} src={productImg}
alt="" alt=""
className="h-full rounded-lg cursor-pointer py-8" className="h-full rounded-lg cursor-pointer py-5"
onMouseEnter={() => setIsHovering(true)} onMouseEnter={() => setIsHovering(true)}
onMouseLeave={() => setIsHovering(false)} onMouseLeave={() => setIsHovering(false)}
/> />
@ -132,7 +132,7 @@ const ProductDesign = ({
<div className="px-2"> <div className="px-2">
<div className="mt-4"> <div className="mt-4">
<h2 <h2
className={`leading-4 text-xs ${productTitleColor} ${productTitleAlignment}`} className={`leading-4 text-xs py-1 ${productTitleColor} ${productTitleAlignment}`}
> >
{productName} {productName}
</h2> </h2>

Loading…
Cancel
Save