-
Notifications
You must be signed in to change notification settings - Fork 381
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
Chrome update, icons missing #305
Comments
+1 Is there a workaround? |
Same here. Still looking for a answer... |
all, we may not be able to look into solving this for weeks. unfortunately, this project is low on our priority list and we'll have to rely on the community if there's going to be an immediate solution. |
I think if you host the SVG icons somewhere else, and then just reference them in the stylesheets, I bet this would work. Right now they are embedding the SVG's as base64 data in the css, and there must be some kind of encoding mistake. I'll post a workaround, in the next few days unless someone else does. |
I've downloaded the SVG files and change the background images to point directly to the files instead of the URI data and it worked. Apparently the encoding generated after stylus compilation is not longer compatible with Chrome. |
It appears we're missing |
As well the encoding of the SVG markup in the background-image URL doesn't look good. The normal SVG markup code be used, like this:
|
@rcamposp How did you exactly save SVGs as image files? I tried a couple of solutions but failed. |
At the end i tried something different because i couldn't change de color
|
@hhsnopek @rcamposp It appears that omitting In Chrome, not explicitly setting the width and height of the SVG element causes it to not work. Here's an example with the same code being used on the page with the problem: Setting the width and height may work. Interestingly Mozilla Firefox doesn't seem to support non-encoded SVG, but using the URI encoded SVG is the option to go for. |
Thank you @xxxdepy Specifying width and height works well. |
Can anybody post the fixed css file? |
These are the new css files as produced by #307. |
Thank you, @colavitam! |
I just ran into this same issue this evening. It appeared the solution was going to be having to download the assets and refer to them explicitly, but strangely I was able to get the assets to display as is with only these two lines of SASS: share-button .sb-social ul li:before
background-image: url() Can't confirm vanilla CSS will do the trick but the above compiles to: share-button .sb-social ul li:before {
background-image: url();
} Confirmed working in Safari Version 9.1.1 (11601.6.17), Firefox 47.0 and Chrome 51.0.2704.103. |
I guess all that remains is for the carrot creative team to update the css on sharebutton.co to reflect the newcss.zip file which has been confirmed working. @hhsnopek |
FWIW just rebuilding with the latest svg builder seems to fix the problem... |
Details
Chrome not showing the icons on the share popup
Description
see attached.
Affected Tech
Chrome Browser version: 50.0.2661.94 (64-bit)
OS(s)
Ubuntu and Windows 10
Browser(s)
Chrome
Steps to Reproduce
replicate on the example site using this chrome version or later: https://sharebutton.co/
jsfiddle Example
TL; DR
...
Comments
Anything else related to the issue that doesn't fit above.
The text was updated successfully, but these errors were encountered: