diff --git a/src/theme/drawer.ts b/src/theme/drawer.ts index 45884eef..7a450cb6 100644 --- a/src/theme/drawer.ts +++ b/src/theme/drawer.ts @@ -1,6 +1,6 @@ export default { slots: { - overlay: 'fixed inset-0 z-30 bg-gray-200/75 dark:bg-gray-800/75', + overlay: 'fixed inset-0 z-50 bg-gray-200/75 dark:bg-gray-800/75', content: 'fixed inset-x-0 bottom-0 z-50 mt-24 bg-white dark:bg-gray-900 ring ring-gray-200 dark:ring-gray-800 rounded-t-lg h-auto max-h-[96%] flex flex-col focus:outline-none', handle: 'mx-auto w-12 my-4 h-1.5 shrink-0 rounded-full bg-gray-200 dark:bg-gray-700', container: 'mx-auto w-full max-w-md flex flex-col gap-4 px-4 pb-8 overflow-y-auto', diff --git a/src/theme/modal.ts b/src/theme/modal.ts index 8b2ec985..2ac7341a 100644 --- a/src/theme/modal.ts +++ b/src/theme/modal.ts @@ -1,6 +1,6 @@ export default { slots: { - overlay: 'fixed inset-0 z-30 bg-gray-200/75 dark:bg-gray-800/75', + overlay: 'fixed inset-0 z-50 bg-gray-200/75 dark:bg-gray-800/75', content: 'fixed z-50 w-full h-dvh bg-white dark:bg-gray-900 divide-y divide-gray-200 dark:divide-gray-800 flex flex-col focus:outline-none', header: 'px-4 py-5 sm:px-6', body: 'flex-1 p-4 sm:p-6', diff --git a/src/theme/slideover.ts b/src/theme/slideover.ts index c6ae5523..0039ca9c 100644 --- a/src/theme/slideover.ts +++ b/src/theme/slideover.ts @@ -1,6 +1,6 @@ export default { slots: { - overlay: 'fixed inset-0 z-30 bg-gray-200/75 dark:bg-gray-800/75', + overlay: 'fixed inset-0 z-50 bg-gray-200/75 dark:bg-gray-800/75', content: 'fixed z-50 bg-white dark:bg-gray-900 divide-y divide-gray-200 dark:divide-gray-800 sm:ring ring-gray-200 dark:ring-gray-800 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', diff --git a/test/components/__snapshots__/Drawer.spec.ts.snap b/test/components/__snapshots__/Drawer.spec.ts.snap index 70a55588..06afa7d6 100644 --- a/test/components/__snapshots__/Drawer.spec.ts.snap +++ b/test/components/__snapshots__/Drawer.spec.ts.snap @@ -5,7 +5,7 @@ exports[`Drawer > renders with body slot correctly 1`] = ` -
+