Skip to content

Commit

Permalink
Components: Remove fixed width for compact sized Buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsekouras committed Dec 11, 2023
1 parent d1b2abf commit eac6f2a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
- `ToggleGroupControl`: react correctly to external controlled updates ([#56678](https://github.com/WordPress/gutenberg/pull/56678)).
- `ToolsPanel`: fix a performance issue ([#56770](https://github.com/WordPress/gutenberg/pull/56770)).
- `BorderControl`: adjust `BorderControlDropdown` Button size to fix misaligned border ([#56730](https://github.com/WordPress/gutenberg/pull/56730)).
- `Button`: remove fixed width for `compact` sized Buttons ([#](https://github.com/WordPress/gutenberg/pull/)).

### Internal

Expand Down
1 change: 0 additions & 1 deletion packages/components/src/button/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@
&.has-icon:not(.has-text) {
padding: 0;
width: $button-size-compact;
min-width: $button-size-compact;
}
}
Expand Down

0 comments on commit eac6f2a

Please sign in to comment.