-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consistent modal paddings #2571
Conversation
Bundle Stats — desktop-clientHey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
Changeset
View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger No assets were bigger Smaller
Unchanged
|
Bundle Stats — loot-coreHey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
Changeset No files were changed View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger No assets were bigger Smaller No assets were smaller Unchanged
|
0b33288
to
d99a642
Compare
✅ Deploy Preview for actualbudget ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
03b3274
to
b4f15fe
Compare
@@ -23,26 +23,32 @@ export function ReportBudgetSummaryModal({ | |||
}: ReportBudgetSummaryModalProps) { | |||
const currentMonth = monthUtils.currentMonth(); | |||
return ( | |||
<Modal title="Budget Summary" {...modalProps}> | |||
{() => ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed lambda
@@ -78,28 +78,34 @@ export function RolloverBudgetSummaryModal({ | |||
}; | |||
|
|||
return ( | |||
<Modal title="Budget Summary" {...modalProps}> | |||
{() => ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed lambda
borderRadius: '6px', | ||
}} | ||
> | ||
{() => ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed lambda
@@ -28,45 +28,51 @@ export function SwitchBudgetTypeModal({ | |||
} | |||
: {}; | |||
return ( | |||
<Modal title="Switch budget type?" {...modalProps}> | |||
{() => ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed lambda
borderRadius: '6px', | ||
}} | ||
> | ||
{() => ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed lambda
borderRadius: '6px', | ||
}} | ||
> | ||
{() => ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed lambda
borderRadius: '6px', | ||
}} | ||
> | ||
{() => ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed lambda
borderRadius: '6px', | ||
}} | ||
> | ||
{() => ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed lambda
b4f15fe
to
4ce0e68
Compare
@@ -42,11 +42,10 @@ export function AccountAutocompleteModal({ | |||
focusAfterClose={false} | |||
{...modalProps} | |||
onClose={_onClose} | |||
padding={0} | |||
padding={10} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❓ question: would it make sense to move the padding=10
inside the Modal
component as the default value? Seems like it's used universally almost everywhere now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also style = { flex: 1, borderRadius: '6px' }
4ce0e68
to
d3e3a5e
Compare
804abbc
to
f9d8cd6
Compare
Use the consistent paddings for modals