Skip to content

Commit 9363cf0

Browse files
Fix Placeholder component padding when body text font size is changed (#58323)
* added font size to component wrapper so it's used by the padding value * update changelog
1 parent fcf0b5d commit 9363cf0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/components/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### Bug Fix
66

7+
- `Placeholder`: Fix Placeholder component padding when body text font size is changed ([#58323](https://github.com/WordPress/gutenberg/pull/58323)).
78
- `Placeholder`: Fix Global Styles typography settings bleeding into placeholder component ([#58303](https://github.com/WordPress/gutenberg/pull/58303)).
89
- `PaletteEdit`: Fix palette item accessibility in details view ([#58214](https://github.com/WordPress/gutenberg/pull/58214)).
910

packages/components/src/placeholder/style.scss

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// This needs specificity to override individual block styles.
22
.components-placeholder.components-placeholder {
3+
font-size: $default-font-size;
34
box-sizing: border-box;
45
position: relative;
56
padding: 1em;

0 commit comments

Comments
 (0)