summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-08-26 08:29:24 +0000
committerIT Fixcomart <it@fixcomart.co.id>2024-08-26 08:29:24 +0000
commit2dbd2eb810855b364b0fd529cc0e912cc303152b (patch)
tree0c6b4b0fbd684b80622813a2ab2db4d41501d6ad
parent899240f1899ebe2d9c21d0d4b5f586457044a883 (diff)
parent66629736b12fb8d86f6e8505e4bacf2c64bb7270 (diff)
Merged in update-category (pull request #270)
<iman> update margin category icon on search
-rw-r--r--src/lib/product/components/CategorySection.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/product/components/CategorySection.jsx b/src/lib/product/components/CategorySection.jsx
index 2af3db10..e8ebb095 100644
--- a/src/lib/product/components/CategorySection.jsx
+++ b/src/lib/product/components/CategorySection.jsx
@@ -35,7 +35,7 @@ const CategorySection = ({ categories }) => {
<div className="group transition-colors duration-300 ">
<div className="KartuInti h-12 w-26 max-w-sm lg:max-w-full flex flex-col border-[2px] border-gray-200 group-hover:border-red-400 rounded relative ">
<div className="flex items-center justify-start h-full px-1 flex-row ">
- <Image className="h-full" src={category?.image1920 ? category?.image1920 : '/images/noimage.jpeg'} width={56} height={48} alt={category?.name} />
+ <Image className="h-full p-1" src={category?.image1920 ? category?.image1920 : '/images/noimage.jpeg'} width={56} height={48} alt={category?.name} />
<h2 className="text-gray-700 group-hover:text-[#E20613] line-clamp-2 content-center h-fit w-60 px-1 font-semibold text-sm text-start">{category?.name}</h2>
</div>
</div>