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

Custom SVGs not not displayed #461

Open
sroener opened this issue Apr 18, 2024 · 3 comments
Open

Custom SVGs not not displayed #461

sroener opened this issue Apr 18, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@sroener
Copy link

sroener commented Apr 18, 2024

Hey,

thank you for building this project. I was really enthusiastic when I saw this project and I would like to create a tech-stack-card for my profile. Unfortunatly, simple icons does not include all icons I would like to add (e.g. Seaborn). To handle this, I used custom .svg files from their website and added them to the card.

Depending on the file, the whole card did not show.

SVG that did not work: https://seaborn.pydata.org/_static/logo-wide-lightbg.svg

SVG that did work: https://docs.dask.org/en/stable/_images/dask_icon.svg

From my limited experience with the .svg format, I could not see any problems.

Any idea what might cause the problem?

@sroener sroener added the bug Something isn't working label Apr 18, 2024
@0l1v3rr
Copy link
Owner

0l1v3rr commented Apr 18, 2024

Hello,

The only thing I noticed is that when using the first (not working) SVG, the generated URL became too long.
This tool reads your SVG file, converts it to base64 and probably created a very long string.

But that's just a guess, I don't have any other ideas at the moment.

@sroener
Copy link
Author

sroener commented Apr 19, 2024

Would it be possible to enter a path to a local directory containing the SVG file? I did that without the card style, but would prefer to have everything wrapped in a uniform style.

@0l1v3rr
Copy link
Owner

0l1v3rr commented Apr 19, 2024

I don't see how it would be possible. If you have any idea, let me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants