diff --git a/packages/devui/src/Dialog/styles/default.ts b/packages/devui/src/Dialog/styles/default.ts index 06c1a55a..75552435 100644 --- a/packages/devui/src/Dialog/styles/default.ts +++ b/packages/devui/src/Dialog/styles/default.ts @@ -16,7 +16,7 @@ export const style = ({ right: 0px; bottom: 0px; left: 0px; - z-index: 4; + z-index: 14; display: ${open ? 'flex' : 'none'}; flex-direction: column; align-items: center; @@ -37,7 +37,7 @@ export const style = ({ flex-direction: column; box-sizing: border-box; position: relative; - z-index: 2; + z-index: 12; max-height: 100%; min-width: 320px; ${fullWidth ? 'width: 99%;' : ''} diff --git a/packages/devui/src/Dialog/styles/material.ts b/packages/devui/src/Dialog/styles/material.ts index 7d1ce5a8..82b9818a 100644 --- a/packages/devui/src/Dialog/styles/material.ts +++ b/packages/devui/src/Dialog/styles/material.ts @@ -12,7 +12,7 @@ export const style = ({ right: 0px; bottom: 0px; left: 0px; - z-index: 4; + z-index: 14; display: ${open ? 'flex' : 'none'}; flex-direction: column; align-items: center; @@ -33,7 +33,7 @@ export const style = ({ flex-direction: column; box-sizing: border-box; position: relative; - z-index: 2; + z-index: 12; max-height: 100%; min-width: 320px; ${fullWidth ? 'width: 99%;' : ''} diff --git a/packages/devui/tests/__snapshots__/Dialog.test.tsx.snap b/packages/devui/tests/__snapshots__/Dialog.test.tsx.snap index 3a510d82..4588b0d1 100644 --- a/packages/devui/tests/__snapshots__/Dialog.test.tsx.snap +++ b/packages/devui/tests/__snapshots__/Dialog.test.tsx.snap @@ -2,7 +2,7 @@ exports[`Dialog renders correctly 1`] = `