Skip to content
Snippets Groups Projects
Unverified Commit f90fe04b authored by Joel Jeremy Marquez's avatar Joel Jeremy Marquez Committed by GitHub
Browse files

Add left and right margins to modals (#2082)

* Add left and right margins to modals

* Release notes
parent ca55d9c8
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ export type ModalProps = {
isHidden?: boolean;
children: ReactNode | (() => ReactNode);
size?: { width?: number; height?: number };
padding?: number;
padding?: CSSProperties['padding'];
showHeader?: boolean;
showTitle?: boolean;
showClose?: boolean;
......@@ -93,6 +93,7 @@ const Modal = ({
backgroundColor: 'transparent',
padding: 0,
pointerEvents: 'auto',
margin: '0 10px',
...contentStyle,
},
overlay: {
......
---
category: Enhancements
authors: [joel-jeremy]
---
Add left and right margin to modals.
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