Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

20px editor-font-sizes overridden after 5.9 update #390

Closed
waybis opened this issue Jan 30, 2022 · 4 comments
Closed

20px editor-font-sizes overridden after 5.9 update #390

waybis opened this issue Jan 30, 2022 · 4 comments

Comments

@waybis
Copy link

waybis commented Jan 30, 2022

When you select a large 20px font size within the block editor, this is overriden by --wp--preset--font-size--large: 36px; since upgrading to wordpress 5.9

To reproduce
Steps to reproduce the behavior:

  1. set font size to large 20 px
  2. upgrade to wordpress 5.9

Expected behavior
font size should be 20px

Screenshots

System information (please complete)

  • OS Windows
  • Browser Chrome
  • Version 97.0.4692.99

Additional context
appearance.php sets the editor font sizes
possibly related to this

@waybis waybis added the bug label Jan 30, 2022
@dreamwhisper
Copy link
Contributor

Thanks for the report @waybis!

We're currently tracking this issue in the Gutenberg repo: WordPress/gutenberg#38252

@waybis
Copy link
Author

waybis commented Jan 31, 2022

great thanks seems to be in hand! 👍 I'll just avoid 20px for the time being, sounds like it might turn out to be a longish debate.

@webmandesign
Copy link

Hi there. In the linked Gutenberg issue I've provided an immediate fix for the issue. Feel free to use it even as a temporary fix.

@dreamwhisper
Copy link
Contributor

Resolved in Core.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants