mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-28 10:33:02 -05:00
Add left and right margins to modals (#2082)
* Add left and right margins to modals * Release notes
This commit is contained in:
committed by
GitHub
parent
ca55d9c85e
commit
f90fe04b2b
@@ -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: {
|
||||
|
||||
6
upcoming-release-notes/2082.md
Normal file
6
upcoming-release-notes/2082.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Enhancements
|
||||
authors: [joel-jeremy]
|
||||
---
|
||||
|
||||
Add left and right margin to modals.
|
||||
Reference in New Issue
Block a user