studiopress / genesis-sample

This is the sample theme created for the Genesis Framework.
https://demo.studiopress.com/genesis-sample/
528 stars 285 forks source link

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

Closed waybis closed 1 year ago

waybis commented 2 years ago

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)

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

dreamwhisper commented 2 years ago

Thanks for the report @waybis!

We're currently tracking this issue in the Gutenberg repo: https://github.com/WordPress/gutenberg/issues/38252

waybis commented 2 years ago

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 commented 2 years ago

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 commented 1 year ago

Resolved in Core.