fix(Drawer/Modal/Slideover): no need for z-index since its isolated

Resolves nuxt/ui#2347
This commit is contained in:
Benjamin Canac
2024-10-11 00:08:17 +02:00
parent 1a7af6d182
commit bcfa4b74a9
6 changed files with 111 additions and 111 deletions

View File

@@ -1,7 +1,7 @@
export default {
slots: {
overlay: 'fixed inset-0 z-50 bg-[--ui-bg-elevated]/75',
content: 'fixed z-50 w-full h-dvh bg-[--ui-bg] divide-y divide-[--ui-border] flex flex-col focus:outline-none',
overlay: 'fixed inset-0 bg-[--ui-bg-elevated]/75',
content: 'fixed w-full h-dvh bg-[--ui-bg] divide-y divide-[--ui-border] flex flex-col focus:outline-none',
header: 'px-4 py-5 sm:px-6',
body: 'flex-1 p-4 sm:p-6',
footer: 'flex items-center gap-1.5 p-4 sm:px-6',