fix(frontend) : fix z-index overlay hiding drawers and add pathPrefix config

Lower the white overlay div from z-50 to z-30 so it still masks scrolling
content but no longer covers drawers/modals teleported to body.
Add components pathPrefix: false to resolve auto-imported components
without folder prefix.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Matthieu
2026-03-12 12:12:48 +01:00
parent dac493b76d
commit 3e6f4ecc7a
2 changed files with 4 additions and 1 deletions

View File

@@ -87,7 +87,7 @@
<div class="h-full flex-1 overflow-hidden flex flex-col">
<AppTopNav :user="auth.user" />
<div class="relative flex-1 overflow-hidden bg-white">
<div aria-hidden="true" class="pointer-events-none absolute inset-x-0 top-0 z-50 h-12 bg-white" />
<div aria-hidden="true" class="pointer-events-none absolute inset-x-0 top-0 z-30 h-12 bg-white" />
<main class="h-full overflow-y-auto px-16 pt-12 pb-24">
<slot/>
</main>

View File

@@ -31,6 +31,9 @@ export default defineNuxtConfig({
},
},
},
components: [
{path: '~/components', pathPrefix: false},
],
vite: {
server: {
proxy: {