Skip to content

Commit

Permalink
FontSizePicker: Add display: contents rule to custom size select (W…
Browse files Browse the repository at this point in the history
…ordPress#68280)


Co-authored-by: yogeshbhutkar <[email protected]>
Co-authored-by: tyxla <[email protected]>
Co-authored-by: mirka <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: himanshupathak95 <[email protected]>
Co-authored-by: SainathPoojary <[email protected]>
  • Loading branch information
7 people authored Dec 30, 2024
1 parent b4304f8 commit d0440b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
### Bug Fixes

- `BoxControl`: Better respect for the `min` prop in the Range Slider ([#67819](https://github.com/WordPress/gutenberg/pull/67819)).
- `FontSizePicker`: Add `display:contents` rule to fix overflowing text in the custom size select. ([#68280](https://github.com/WordPress/gutenberg/pull/68280)).

### Experimental

Expand Down
1 change: 1 addition & 0 deletions packages/components/src/font-size-picker/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export const Container = styled.fieldset`
border: 0;
margin: 0;
padding: 0;
display: contents;
`;

export const Header = styled( HStack )`
Expand Down

0 comments on commit d0440b9

Please sign in to comment.