From f6911374de8784773f9ce56071e382e0449fefce Mon Sep 17 00:00:00 2001 From: Marco Ciampini Date: Tue, 10 Mar 2026 16:07:55 +0100 Subject: [PATCH 1/2] Card: increase padding --- packages/ui/src/card/style.module.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ui/src/card/style.module.css b/packages/ui/src/card/style.module.css index ddee784525c299..ac9f45ab9add08 100644 --- a/packages/ui/src/card/style.module.css +++ b/packages/ui/src/card/style.module.css @@ -2,8 +2,8 @@ @layer wp-ui-components { .root { - --wp-ui-card-padding: var(--wpds-dimension-padding-xl); - --wp-ui-card-header-content-gap: var(--wpds-dimension-gap-lg); + --wp-ui-card-padding: var(--wpds-dimension-padding-2xl); + --wp-ui-card-header-content-gap: var(--wpds-dimension-gap-xl); display: flex; flex-direction: column; From 20c925064f33ec36d8a7b9a113bcd72e1f227c02 Mon Sep 17 00:00:00 2001 From: Marco Ciampini Date: Fri, 13 Mar 2026 16:24:04 +0100 Subject: [PATCH 2/2] CHANGELOG --- packages/ui/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index 847fda21e5e012..732fa6aa322674 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -17,6 +17,7 @@ - `Badge`: Add border, update text color, and apply `neutral-strong` background to `none` intent for better contrast against neutral surfaces ([#76356](https://github.com/WordPress/gutenberg/pull/76356)). - `Notice`: Improve narrow layout by letting description and actions span the icon column when a title is present ([#76202](https://github.com/WordPress/gutenberg/pull/76202)). - `Notice`: Use `Text` component for `Title` and `Description` typography ([#75870](https://github.com/WordPress/gutenberg/pull/75870)). +- `Card`, `CollapsibleCard`: update padding to match legacy `Card` component ([#76368](https://github.com/WordPress/gutenberg/pull/76368)). ## 0.8.0 (2026-03-04)