From 1651f4b2f1b59b81e0edc88accdcad4c048e443b Mon Sep 17 00:00:00 2001 From: Padreug Date: Mon, 11 May 2026 20:48:56 +0200 Subject: [PATCH] fix(restaurant/item-page): sticky bar gap + desktop scroll cutoff Two layout bugs on the item detail page: 1. Mobile: the sticky add-to-cart bar sat at bottom-16 (64px) but BottomNav is h-14 (56px), leaving an 8px gap that showed the page background between the two. Anchor it at the BottomNav's height + safe-area inset so it's truly flush on every device. 2. Desktop: sm:py-6 overrode the pb-32 padding, so the bottom of the page (note textarea, modifier rows for tall items) got hidden behind the bottom bars. Switch to sm:pt-6 to keep the bottom padding consistent across breakpoints. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/modules/restaurant/views/ItemPage.vue | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/modules/restaurant/views/ItemPage.vue b/src/modules/restaurant/views/ItemPage.vue index 2b971f7..3342a57 100644 --- a/src/modules/restaurant/views/ItemPage.vue +++ b/src/modules/restaurant/views/ItemPage.vue @@ -103,7 +103,7 @@ function back() {