search: apply same menu list updated on search page and add cart button

This commit is contained in:
2025-10-11 11:53:56 +03:00
parent c3f3c9bd49
commit c4d8c3f883
6 changed files with 254 additions and 310 deletions

View File

@@ -678,19 +678,22 @@
display: flex;
height: 100%;
width: 100%;
}
.productLink .ant-card {
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.productLink .ant-card .ant-card-body {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
}
}

View File

@@ -115,20 +115,19 @@ export function MenuList({ data, categoryRefs }: MenuListProps) {
borderRadius: 8,
overflow: "hide",
width: "100%",
boxShadow: "none",
}}
styles={{
body: {
display: "flex",
flexDirection: "column",
justifyContent: "space-between",
borderRadius: 8,
padding: item.description
? "16px 16px 8px 16px"
: "16px 16px 24px 16px",
overflow: "hide",
boxShadow:
"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.05)",
},
boxShadow: "none",
},
}}
>
<div