From 493983ccc05fd0a706bf94dd0ed8e3c1f3a8d686 Mon Sep 17 00:00:00 2001 From: Dorian Date: Mon, 9 Mar 2026 07:57:37 +0000 Subject: [PATCH] fix: prevent fight view scrolling on mobile with tab bar All pages used h-[calc(100dvh-4rem)] which only subtracted the top navbar but ignored the mobile tab bar's pb-14 bottom padding, causing content to overflow and scroll. Changed all pages to h-full so they fill the flex parent (main element) which already handles both the navbar and tab bar spacing correctly. Co-Authored-By: Claude Opus 4.6 --- frontend/src/pages/ArenaPage.vue | 2 +- frontend/src/pages/BotProfilePage.vue | 2 +- frontend/src/pages/DocsPage.vue | 2 +- frontend/src/pages/FightCardPage.vue | 2 +- frontend/src/pages/FightPage.vue | 2 +- frontend/src/pages/HomePage.vue | 2 +- frontend/src/pages/HumanFightPage.vue | 6 +++--- frontend/src/pages/JoinBoutPage.vue | 2 +- frontend/src/pages/LeaderboardPage.vue | 2 +- frontend/src/pages/RegisterPage.vue | 2 +- frontend/src/pages/SchedulePage.vue | 2 +- 11 files changed, 13 insertions(+), 13 deletions(-) diff --git a/frontend/src/pages/ArenaPage.vue b/frontend/src/pages/ArenaPage.vue index 55e337b..f73587b 100644 --- a/frontend/src/pages/ArenaPage.vue +++ b/frontend/src/pages/ArenaPage.vue @@ -34,7 +34,7 @@ const tierClass = (t: number) => `tier-${t}`