Skip to content

Font Library: A border is drawn when there are no fonts available #54527

@t-hamano

Description

@t-hamano

Description

If the currently active theme does not define fonts, an unnatural border will be displayed.

actual

I would suggest either of the following approaches:

Just hide the border

proposal_1

Show some text

proposal_2

Step-by-step reproduction instructions

  • Activate Emptyempty theme.
  • Open the Site Editor.
  • Global Styles > Typography

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Feature] TypographyFont and typography-related issues and PRs[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions