From caa109fbcb5f0b9a11894ffad8191738a53b9a0d Mon Sep 17 00:00:00 2001 From: Mohammed Al-yaseen Date: Wed, 10 Dec 2025 00:44:50 +0300 Subject: [PATCH] styles adjustments --- src/components/ArabicPrice/ArabicPrice.tsx | 6 ++- .../CategoriesList/CategoriesList.module.css | 49 +------------------ .../CategoriesList/CategoriesList.tsx | 34 ++++++------- .../menu/components/MenuList/ProductCard.tsx | 10 ++-- 4 files changed, 27 insertions(+), 72 deletions(-) diff --git a/src/components/ArabicPrice/ArabicPrice.tsx b/src/components/ArabicPrice/ArabicPrice.tsx index c0d6cc3..a902264 100644 --- a/src/components/ArabicPrice/ArabicPrice.tsx +++ b/src/components/ArabicPrice/ArabicPrice.tsx @@ -47,6 +47,7 @@ const ArabicPrice: React.FC = ({ style={{ verticalAlign: "baseline", lineHeight: 1, + fontSize: "14px", ...(decorationStyle ?? {}), }} > @@ -55,7 +56,7 @@ const ArabicPrice: React.FC = ({ = ({ verticalAlign: "baseline", lineHeight: 1, display: "inline-block", + fontSize: "14px", ...(decorationStyle ?? {}), }} > @@ -81,7 +83,7 @@ const ArabicPrice: React.FC = ({ {isRTL diff --git a/src/pages/menu/components/MenuList/ProductCard.tsx b/src/pages/menu/components/MenuList/ProductCard.tsx index 9e78203..674959c 100644 --- a/src/pages/menu/components/MenuList/ProductCard.tsx +++ b/src/pages/menu/components/MenuList/ProductCard.tsx @@ -62,7 +62,7 @@ export default function ProductCard({ item }: Props) { justifyContent: "space-between", padding: item.description ? "16px 16px 8px 16px" - : "16px 16px 24px 16px", + : "16px", overflow: "hide", boxShadow: "none", }, @@ -71,10 +71,9 @@ export default function ProductCard({ item }: Props) {
+
{/* {item.isHasLoyalty && ( @@ -186,8 +186,8 @@ export default function ProductCard({ item }: Props) { ? styles.popularMenuItemImageTablet : styles.popularMenuItemImageDesktop }`} - width={90} - height={90} + width={92} + height={92} /> {/* */}