Skip to content

Commit

Permalink
Fix item font family item height in the sidebar (#63125)
Browse files Browse the repository at this point in the history
* fix item font family item height

* Apply size="large" to custom fonts as well

---------

Co-authored-by: Sarah Norris <sarah@sekai.co.uk>
Co-authored-by: matiasbenedetto <mmaattiiaass@git.wordpress.org>
Co-authored-by: mikachan <mikachan@git.wordpress.org>
Co-authored-by: tyxla <tyxla@git.wordpress.org>
Co-authored-by: jasmussen <joen@git.wordpress.org>
Co-authored-by: ciampo <mciampini@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
  • Loading branch information
8 people authored Jul 25, 2024
1 parent 32838e8 commit 877628c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function FontFamilies() {
_x( 'Theme', 'font source' )
}
</Subtitle>
<ItemGroup isBordered isSeparated>
<ItemGroup size="large" isBordered isSeparated>
{ themeFonts.map( ( font ) => (
<FontFamilyItem
key={ font.slug }
Expand All @@ -87,7 +87,7 @@ function FontFamilies() {
_x( 'Custom', 'font source' )
}
</Subtitle>
<ItemGroup isBordered isSeparated>
<ItemGroup size="large" isBordered isSeparated>
{ customFonts.map( ( font ) => (
<FontFamilyItem
key={ font.slug }
Expand Down

1 comment on commit 877628c

@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 877628c.
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/10093450279
📝 Reported issues:

Please sign in to comment.