From c78230c73e79b3c9ba3cfb57fce2ff4337ecf71d Mon Sep 17 00:00:00 2001 From: jasmussen Date: Wed, 3 May 2023 11:39:44 +0200 Subject: [PATCH 1/3] Polish confirm dialog padding. --- packages/components/src/modal/style.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/src/modal/style.scss b/packages/components/src/modal/style.scss index 8f0cd5e3d56c0..3a3e19ff550ec 100644 --- a/packages/components/src/modal/style.scss +++ b/packages/components/src/modal/style.scss @@ -135,7 +135,7 @@ &.hide-header { margin-top: 0; - padding-top: $grid-unit-30; + padding-top: $grid-unit-50; } &.is-scrollable:focus-visible { From 8ff9f6c70c3b0b1d15bcad3efe292d8b727ae22b Mon Sep 17 00:00:00 2001 From: jasmussen Date: Thu, 4 May 2023 13:39:35 +0200 Subject: [PATCH 2/3] Grid unit 40 --- packages/components/src/modal/style.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/src/modal/style.scss b/packages/components/src/modal/style.scss index 3a3e19ff550ec..acc43de8b7f90 100644 --- a/packages/components/src/modal/style.scss +++ b/packages/components/src/modal/style.scss @@ -135,7 +135,7 @@ &.hide-header { margin-top: 0; - padding-top: $grid-unit-50; + padding-top: $grid-unit-40; } &.is-scrollable:focus-visible { From 573e9988a3ddf5ee44f68c63a1cb7aacd99d8f82 Mon Sep 17 00:00:00 2001 From: jasmussen Date: Fri, 5 May 2023 08:12:27 +0200 Subject: [PATCH 3/3] Update changelog. --- packages/components/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index dd6b93cfd66db..b9ecd232eec28 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -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