bugfix: style of card product card homepage

This commit is contained in:
Nam Doan
2025-12-29 11:25:46 +07:00
parent 4327676cb4
commit c3e00ee204
4 changed files with 49 additions and 30 deletions
+2 -2
View File
@@ -381,8 +381,8 @@
"styles": {
"container": "content-container py-12 small:py-20",
"header": {
"container": "hidden",
"title": "hidden",
"container": "ml-16",
"title": "text-2xl mb-12",
"isShowViewAll": false
},
"list": "grid grid-cols-2 small:grid-cols-3 gap-x-6 gap-y-24 small:gap-y-36",
+1
View File
@@ -301,6 +301,7 @@
"content": " flex flex-col flex-1",
"title": "mt-2 text-[#1f3521] text-[22px] font-bold",
"price": "mt-2 text-[#3B6F47] font-bold text-[20px] flex gap-3 flex-row-reverse justify-end",
"description": "mt-2",
"reviews": {
"container": "mt-3 flex items-center gap-2",
"stars": "flex gap-1",
+1
View File
@@ -342,6 +342,7 @@
"subtitle": "text-ui-fg-subtle text-[14px]",
"content": "flex flex-col flex-1 justify-between p-4",
"title": "text-ui-fg-subtle text-[18px]",
"description": "mt-2 text-ui-fg-subtle text-[14px]",
"price": "flex items-center gap-x-1 text-[#285A86] font-bold border-b pb-4",
"button": {
"addToCart": "w-fit h-[40px] bg-black text-white rounded-md",