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

fix: padding not working on <Modal> component (#40748)

parent 4e7d6f45
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,9 @@ export const getModalOverrides = (): MantineThemeOverride["components"] => ({
backgroundColor: theme.fn.rgba(theme.fn.themeColor("bg-black"), 0.6),
},
}),
defaultProps: {
p: DEFAULT_MODAL_SPACING,
},
},
ModalRoot: {
defaultProps: {
......@@ -32,11 +35,6 @@ 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