mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-19 06:21:46 +01:00
fix(Drawer/Modal/Slideover): no need for z-index since its isolated
Resolves nuxt/ui#2347
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
export default {
|
||||
slots: {
|
||||
overlay: 'fixed inset-0 z-50 bg-[--ui-bg-elevated]/75',
|
||||
content: 'fixed z-50 bg-[--ui-bg] ring ring-[--ui-border] flex focus:outline-none',
|
||||
overlay: 'fixed inset-0 bg-[--ui-bg-elevated]/75',
|
||||
content: 'fixed bg-[--ui-bg] ring ring-[--ui-border] flex focus:outline-none',
|
||||
handle: 'shrink-0 rounded-full bg-[--ui-bg-accented]',
|
||||
container: 'w-full flex flex-col gap-4 p-4 overflow-y-auto',
|
||||
header: '',
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
export default {
|
||||
slots: {
|
||||
overlay: 'fixed inset-0 z-50 bg-[--ui-bg-elevated]/75',
|
||||
content: 'fixed z-50 bg-[--ui-bg] divide-y divide-[--ui-border] sm:ring ring-[--ui-border] sm:shadow-lg flex flex-col focus:outline-none',
|
||||
overlay: 'fixed inset-0 bg-[--ui-bg-elevated]/75',
|
||||
content: 'fixed bg-[--ui-bg] divide-y divide-[--ui-border] sm:ring ring-[--ui-border] sm:shadow-lg flex flex-col focus:outline-none',
|
||||
header: 'px-4 py-5 sm:px-6',
|
||||
body: 'flex-1 overflow-y-auto p-4 sm:p-6',
|
||||
footer: 'flex items-center gap-1.5 p-4 sm:px-6',
|
||||
|
||||
Reference in New Issue
Block a user