Revert app.vue changes that broke header styling
All checks were successful
build-website / build (push) Successful in 1m30s

- Removed app.vue file that was interfering with navbar scroll behavior
- Restored min-h-screen in default.vue layout
- Restored min-height in body CSS
- Kept the mobile footer fixes which are working correctly

The header now properly changes to white background when scrolling past hero.
This commit is contained in:
2025-09-19 11:06:53 +02:00
parent 31bc2604b8
commit 213813f3a6
3 changed files with 3 additions and 25 deletions

View File

@@ -1,22 +0,0 @@
<template>
<div id="__nuxt-app" class="h-full">
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</div>
</template>
<style>
#__nuxt-app {
height: 100%;
display: flex;
flex-direction: column;
}
/* Ensure Nuxt's root wrapper inherits height */
#__nuxt {
height: 100%;
display: flex;
flex-direction: column;
}
</style>

View File

@@ -19,8 +19,8 @@ html {
body { body {
overscroll-behavior-y: contain; overscroll-behavior-y: contain;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
height: 100%; min-height: 100vh;
height: -webkit-fill-available; min-height: -webkit-fill-available;
/* Prevent double-tap zoom on mobile */ /* Prevent double-tap zoom on mobile */
touch-action: manipulation; touch-action: manipulation;
/* Prevent horizontal scrolling */ /* Prevent horizontal scrolling */

View File

@@ -1,5 +1,5 @@
<template> <template>
<div class="h-full flex flex-col"> <div class="min-h-screen flex flex-col">
<AppNavbar /> <AppNavbar />
<main class="flex-grow"> <main class="flex-grow">
<slot /> <slot />