-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Global Styles: Remove letter-spacing from typography element preview #60322
Conversation
Size Change: -15 B (0%) Total Size: 1.75 MB
ℹ️ View Unchanged
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Flaky tests detected in 6aa7d41. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/9763539296
|
5e48264
to
6aa7d41
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@creativecoder Thanks for the review!
For now, this is intentional because there is enough horizontal space and I believe all typography styles should be reflected in the preview. This is also true for the block preview. However, there is overflow when extreme |
Thanks for clarifying. I agree, I think keeping the preview as close as possible to the actual font display is best. |
…ordPress#60322) Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: creativecoder <grantmkin@git.wordpress.org>
What?
This PR removes the letter-spacing style in the global styles Typography > Elements panel.
Why?
This preview should reflect the actual font style as much as possible, but I think
letter-spacing
is unnecessary as it causes unintended layout disruption.How?
Removed
letter-spacing
from preview styles. This does not affect the preview when accessing Global Styles > Typography > Text.Testing Instructions
letter-spacing
style.