Skip to content

Commit

Permalink
FontSizePicker: Add display: contents rule to custom size select (#…
Browse files Browse the repository at this point in the history
…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

1 comment on commit d0440b9

@github-actions
Copy link

Choose a reason for hiding this comment

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

Flaky tests detected in d0440b9.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/12543946164
📝 Reported issues:

Please sign in to comment.