Skip to content

Commit

Permalink
fix(popover): zindex (#3642)
Browse files Browse the repository at this point in the history
Co-authored-by: Danny Gauthier <[email protected]>
  • Loading branch information
dmgauthier and Danny Gauthier authored Mar 19, 2024
1 parent 4fb106a commit ec5bfb3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/mantine/src/theme/Theme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
InputWrapper,
List,
Loader,
LoadingOverlay,
MantineThemeOverride,
MenuItem,
Modal,
Expand Down Expand Up @@ -116,6 +117,9 @@ export const plasmaTheme: MantineThemeOverride = createTheme({
Button: Button.extend({
classNames: {root: ButtonClasses.root, label: ButtonClasses.label},
}),
LoadingOverlay: LoadingOverlay.extend({
defaultProps: {zIndex: 1400},
}),
Modal: Modal.extend({
classNames: {
root: ModalClasses.root,
Expand Down Expand Up @@ -184,6 +188,7 @@ export const plasmaTheme: MantineThemeOverride = createTheme({
defaultProps: {
shadow: 'md',
withArrow: true,
zIndex: 1300,
},
}),
Badge: Badge.extend({
Expand Down

0 comments on commit ec5bfb3

Please sign in to comment.