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 <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-09 07:57:37 +00:00
co-authored by Claude Opus 4.6
parent 3b863d1f5f
commit 493983ccc0
11 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -286,7 +286,7 @@ const registrationTest = `{
</script>
<template>
<div class="h-[calc(100dvh-4rem)] flex flex-col overflow-hidden">
<div class="h-full flex flex-col overflow-hidden">
<div class="flex flex-col flex-1 min-h-0 px-6 py-4 max-w-4xl mx-auto w-full">
<div class="text-center mb-4 shrink-0">