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

Layout wideSize max viewport width for font size not working in the editor #53557

Open
tellthemachines opened this issue Aug 11, 2023 · 0 comments
Labels
[Feature] Typography Font and typography-related issues and PRs [Type] Bug An existing feature does not function as intended

Comments

@tellthemachines
Copy link
Contributor

Description

#49815 introduced using theme.json settings.layout.wideSize as a max viewport width for the fluid typography calculation. Testing with Twenty Twenty Three and both WP 6.3 and the latest from this repo, that max width is being respected on the front end but not on the editor.

Step-by-step reproduction instructions

  1. With TT3 enabled with default values, inspect a text element while resizing the browser window in the editor.
  2. Verify that the font size continues to increase past 1200px viewport.
  3. The same inspection in the front end shows the font size not increasing past 1200px.

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

@tellthemachines tellthemachines added [Type] Bug An existing feature does not function as intended [Feature] Typography Font and typography-related issues and PRs labels Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Typography Font and typography-related issues and PRs [Type] Bug An existing feature does not function as intended
Projects
No open projects
Development

No branches or pull requests

1 participant