Skip to content
Snippets Groups Projects
Unverified Commit 7d16a878 authored by Nicolò Pretto's avatar Nicolò Pretto Committed by GitHub
Browse files

Revert "fix: padding not working on <Modal> component" (#41029)

This reverts commit 88a36a6a.
parent 7603ad8a
No related branches found
No related tags found
No related merge requests found
......@@ -16,9 +16,6 @@ export const getModalOverrides = (): MantineThemeOverride["components"] => ({
backgroundColor: theme.fn.rgba(theme.fn.themeColor("bg-black"), 0.6),
},
}),
defaultProps: {
p: DEFAULT_MODAL_SPACING,
},
},
ModalRoot: {
defaultProps: {
......@@ -35,6 +32,11 @@ export const getModalOverrides = (): MantineThemeOverride["components"] => ({
pb: "sm",
},
},
ModalBody: {
defaultProps: {
p: DEFAULT_MODAL_SPACING,
},
},
ModalCloseButton: {
defaultProps: {
"aria-label": t`Close`,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment