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:
@@ -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>
|
||||
|
||||
@@ -31,6 +31,9 @@ export default defineNuxtConfig({
|
||||
},
|
||||
},
|
||||
},
|
||||
components: [
|
||||
{path: '~/components', pathPrefix: false},
|
||||
],
|
||||
vite: {
|
||||
server: {
|
||||
proxy: {
|
||||
|
||||
Reference in New Issue
Block a user