menu item smaller price

This commit is contained in:
hamid zarghami
2025-11-10 14:03:28 +03:30
parent 92150cf86c
commit 04f3b3b9b5
3 changed files with 590 additions and 190 deletions
+2 -2
View File
@@ -37,8 +37,8 @@ const MenuItem = ({ food }: MenuItemProps) => {
{food.contains}
</div>
</div>
<div className="inline-flex justify-between w-full items-end">
<span className="w-full" dir="ltr">{food.price} T</span>
<div className="inline-flex gap-2 justify-between w-full items-center">
<span className="w-full text-sm mt-1" dir="ltr">{food.price} T</span>
<motion.div
whileTap={{ scale: 1.05 }}
className="bg-background active:drop-shadow-xs max-w-[115px] rounded-md w-full h-8 inline-flex p-1 justify-between items-center gap-2"