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
+587 -187
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -32,7 +32,7 @@
"leaflet": "^1.9.4",
"lodash": "^4.17.21",
"lucide-react": "^0.525.0",
"next": "15.3.4",
"next": "^15.5.6",
"next-i18n-router": "^5.5.3",
"next-pwa": "^5.6.0",
"next-usequerystate": "^1.20.0",
+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"