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

Masu: Site title font size differences in enviroments #6727

Closed
iamtakashi opened this issue Nov 15, 2022 · 1 comment
Closed

Masu: Site title font size differences in enviroments #6727

iamtakashi opened this issue Nov 15, 2022 · 1 comment
Labels
Needs triage [Type] Bug Something isn't working

Comments

@iamtakashi
Copy link
Contributor

iamtakashi commented Nov 15, 2022

Quick summary

I've noticed that the site title is larger than how it should be in Masu on WP.com.

On a self-hosted site with a Gutenberg trunk, the fluid font size is determined by: (Correct)

.wp-block-site-title {
    font-size: clamp(1.125rem, 1.125rem + ((1vw - 0.48rem) * 0.721), 1.5rem);
}

But this is how it's been done on a WP.com site: (Wrong)

.wp-block-site-title {
    font-size: clamp(1.125rem, 1.125rem + ((1vw - 0.48rem) * 2.163), 2.25rem)
}
Localhost WP.com
iamtakashi jurassic tube_ (1) iamtakashi jurassic tube_ (2)

Steps to reproduce

  1. Activate Masu theme in a WP.com test site
  2. Activate Masu theme in a self-hosted/localhost test site.
  3. See the difference in the site title block.

What you expected to happen

The site title should be the same.

What actually happened

The site title on WP.com is much larger.

@iamtakashi
Copy link
Contributor Author

This is fixed by WordPress/gutenberg#45536, and it landed on WP.com.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs triage [Type] Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant