menu item fix bug design

This commit is contained in:
hamid zarghami
2025-12-14 16:03:01 +03:30
parent 1a1296cc7c
commit 01997a1a2d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ const MenuItem = ({ food }: MenuItemProps) => {
<div className="flex gap-4 w-full h-full items-center">
<Link href={foodDetailUrl} className="cursor-pointer">
<Image
className="rounded-xl min-w-28 w-28 h-28 object-cover"
className="rounded-xl min-w-28 w-28 object-cover"
src={resolvedImage}
height={112}
width={112}
+1 -1
View File
@@ -10,7 +10,7 @@ function MenuItemRendererComponent({ children, ...rest }: Props) {
return (
<div
{...rest}
className={`${rest.className} box-shadow-normal transition-all duration-200 ease-out w-full min-h-36 bg-container rounded-3xl px-4 flex items-center justify-between gap-4`}>
className={`${rest.className} box-shadow-normal !pb-2 py-2 transition-all duration-200 ease-out w-full bg-container rounded-3xl px-4 flex items-center justify-between gap-4`}>
{children}
</div>