From a6f759bf498ef4ce479cef29f738a39b95c4debc Mon Sep 17 00:00:00 2001 From: bonamin Date: Mon, 1 Jun 2026 16:23:40 +0300 Subject: [PATCH] fix(menu-app): 6 UI adjustments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. Font consistency: add Noto Sans as fallback for both display and body fonts so Greek characters render in the same visual weight as Latin 2. Category panel gradients: reduce top opacity 0.85 → 0.65 (20% less) 3. Mobile full-width: remove max-w cap on mobile; sm:max-w-[960px] on desktop (2× wider than before); shadow only on sm+ breakpoint 4. Smaller Add button (h-9→h-8, text-13→12) and price (22px→18px) 5. More spacing between description and footer hairline (pt-3 mt-3) 6. Square hero image in product detail sheet (aspect-square instead of h-44) Co-Authored-By: Claude Sonnet 4.6 --- connect_frontend/menu-app/index.html | 2 +- .../menu-app/src/components/primitives.jsx | 4 +-- .../menu-app/src/pages/MenuPage.jsx | 28 ++++++++++--------- connect_frontend/menu-app/tailwind.config.js | 4 +-- 4 files changed, 20 insertions(+), 18 deletions(-) diff --git a/connect_frontend/menu-app/index.html b/connect_frontend/menu-app/index.html index ef9743b..f554d8e 100644 --- a/connect_frontend/menu-app/index.html +++ b/connect_frontend/menu-app/index.html @@ -6,7 +6,7 @@ Menu - +
diff --git a/connect_frontend/menu-app/src/components/primitives.jsx b/connect_frontend/menu-app/src/components/primitives.jsx index dbc7537..550fbab 100644 --- a/connect_frontend/menu-app/src/components/primitives.jsx +++ b/connect_frontend/menu-app/src/components/primitives.jsx @@ -163,10 +163,10 @@ export function Price({ product, large }) { return (
{discounted && ( - {eur(base)} + {eur(base)} )} {eur(now)} diff --git a/connect_frontend/menu-app/src/pages/MenuPage.jsx b/connect_frontend/menu-app/src/pages/MenuPage.jsx index b0af314..7f33ba0 100644 --- a/connect_frontend/menu-app/src/pages/MenuPage.jsx +++ b/connect_frontend/menu-app/src/pages/MenuPage.jsx @@ -102,7 +102,7 @@ function Sheet({ open, onClose, children, maxH = '88vh' }) { onClick={onClose} />
{children} @@ -271,7 +271,7 @@ function ProductCard({ product, category, lang, t, onOpen, onAdd, qty }) { {desc}

-
+
@@ -279,7 +279,7 @@ function ProductCard({ product, category, lang, t, onOpen, onAdd, qty }) {