-
Notifications
You must be signed in to change notification settings - Fork 12
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
Reddit logo is chopped off on the sides. #1
Comments
Thanks for the report, I assumed they were all the same size, I guess that's not the case |
Hmm, it's quite odd, if I check the source svg, it has the same width/height/viewBox as all the other images, namely |
I believe the same thing happens with toggle_on and toggle_off. Both clipped on both sides. |
It is also the case with |
@TheSeamau5 yeah that would be ideal, I think that the best fix would be if we can fix the svgs upstream so that they stay within their viewBox, this is the code that is generating them: https://github.com/encharm/Font-Awesome-SVG-PNG/blob/master/lib/getIconSvg.js |
Seems like this has been fixed upstream: Would be nice to get an updated version 😄 |
I recently did a a new release (https://github.com/jystic/elm-font-awesome/pull/10), give it a shot! |
We'll I'm using that version. Here is a demo of my library, which uses version 3.0.0 of your library. |
It seems that at all sizes, the reddit logo is chopped off on the sides. It is due to how the svg width and height are set. If you manually increase the width, then the logo appears whole.
The text was updated successfully, but these errors were encountered: