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

Specific Font-Families are not properly fitted #91

Open
emrockarts opened this issue Apr 25, 2023 · 1 comment
Open

Specific Font-Families are not properly fitted #91

emrockarts opened this issue Apr 25, 2023 · 1 comment

Comments

@emrockarts
Copy link

I'm using Fitty with multiple Google fonts. Certain font families extend past their container width, 'Great Vibes' and 'Aguafina' are two examples. Is this fixable or is there a good workaround?

Codepen here:
https://codepen.io/emrockarts/pen/qBJmBmp

@rikschennink
Copy link
Owner

I don't really have a workaround for this, in a perfect world Fitty would measure the actual horizontal pixels used but it doesn't right now. So this will require some hacking, maybe by adjusting padding/margin on a parent container.

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

No branches or pull requests

2 participants