Skip to content

Commit

Permalink
Polish confirm dialog padding. (#50283)
Browse files Browse the repository at this point in the history
* Polish confirm dialog padding.

* Grid unit 40

* Update changelog.
  • Loading branch information
jasmussen authored May 5, 2023
1 parent 5f61472 commit 227f9ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- `CheckboxControl`, `CustomGradientPicker`, `FormToggle`, : Refactor and correct the focus style for consistency ([#50127](https://github.com/WordPress/gutenberg/pull/50127)).
- `Button`, update spacing values in `has-text has-icon` buttons. ([#50277](https://github.com/WordPress/gutenberg/pull/50277)).
- `Button`, remove custom padding applied to `tertiary` variant. ([#50276](https://github.com/WordPress/gutenberg/pull/50276)).
- `Modal`: Correct padding for title less confirm variant. ([#50283](https://github.com/WordPress/gutenberg/pull/50283)).

### Breaking Changes

Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/modal/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@

&.hide-header {
margin-top: 0;
padding-top: $grid-unit-30;
padding-top: $grid-unit-40;
}

&.is-scrollable:focus-visible {
Expand Down

0 comments on commit 227f9ec

Please sign in to comment.