-
Notifications
You must be signed in to change notification settings - Fork 117
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
Size 100% doesn't render the text properly #121
Comments
Looks like someone made a React fork of the FitText plugin which may be useful in this scenario (http://softwarepsychonaut.com/react-fittext/) |
In my opinion, a much better option would be to use svg's to render the icons. I made a couple of tests and it works flawlessly without the need to define a fixed size, just matching the parent size: -https://codepen.io/anon/pen/oPBGNa |
Sadly the SVG approach breaks down as well when we consider that not all initial have exactly two characters in them. |
This issue has been fixed in the v3.3.0 release. Thanks for the bug report and the help looking for a solution! |
When you specify a size of 100%, the text inside doesn't render properly. It renders very small and not centered
I believe this is caused by:
The text was updated successfully, but these errors were encountered: