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

Error when changing font size of #sub #6

Closed
Amakaruk opened this issue Jul 29, 2015 · 1 comment
Closed

Error when changing font size of #sub #6

Amakaruk opened this issue Jul 29, 2015 · 1 comment

Comments

@Amakaruk
Copy link

I tested this library at Codepen, and everything went well until I started changing the styles of the container Div (#sub). When I change the font size, the text gets cut in half from the bottom up.

See my example here:

http://codepen.io/Amakaruk/pen/YXRLbO

@schlosser
Copy link
Owner

Thanks for submitting an issue! I believe this is a duplicate of #5. I hardcode the height of the words based on the height of the fallback text, so if the font size gets changed after the library initializes it breaks. Thanks for the tip!

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