Skip to content
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 @@
### Enhancements

- `Badge`, `Button`, `ColorPalette`, `CustomSelectControl`, `DropdownMenu`, `DropZone`, `FormTokenField`, `Menu`, `Placeholder`, `RadioControl`, `Snackbar`, `Tabs`, `TimePicker`, and `ToolbarButton`: Use the `--wpds-typography-font-size-*` tokens for their font sizes ([#86961](https://github.com/WordPress/gutenberg/pull/86961)).
- `Button`: Increase the label font size of small buttons from 11px to 13px ([#79993](https://github.com/WordPress/gutenberg/pull/79993)).

### Bug Fixes

Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/button/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
height: var(--wpds-dimension-size-sm);
line-height: 22px;
padding: 0 8px;
font-size: 11px;
font-size: var(--wpds-typography-font-size-md);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The base .components-button rule already sets this, so .is-small can just drop its own font-size.

Suggested change
font-size: var(--wpds-typography-font-size-md);


&.has-icon:not(.has-text) {
padding: 0;
Expand Down
Loading