Skip to content

Commit d660ae4

Browse files
ciampojameskoster
andauthored
ui/Card: increase padding, align with legacy Card (#76368)
* Card: increase padding * CHANGELOG --- Co-authored-by: ciampo <mciampini@git.wordpress.org> Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
1 parent 74b11a6 commit d660ae4

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

packages/ui/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
- `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)).
1818
- `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)).
1919
- `Notice`: Use `Text` component for `Title` and `Description` typography ([#75870](https://github.com/WordPress/gutenberg/pull/75870)).
20+
- `Card`, `CollapsibleCard`: update padding to match legacy `Card` component ([#76368](https://github.com/WordPress/gutenberg/pull/76368)).
2021

2122
## 0.8.0 (2026-03-04)
2223

packages/ui/src/card/style.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
@layer wp-ui-components {
44
.root {
5-
--wp-ui-card-padding: var(--wpds-dimension-padding-xl);
6-
--wp-ui-card-header-content-gap: var(--wpds-dimension-gap-lg);
5+
--wp-ui-card-padding: var(--wpds-dimension-padding-2xl);
6+
--wp-ui-card-header-content-gap: var(--wpds-dimension-gap-xl);
77

88
display: flex;
99
flex-direction: column;

0 commit comments

Comments
 (0)