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

CSP Problems with svg buttons #10

Open
mskzo opened this issue Dec 13, 2024 · 0 comments
Open

CSP Problems with svg buttons #10

mskzo opened this issue Dec 13, 2024 · 0 comments

Comments

@mskzo
Copy link

mskzo commented Dec 13, 2024

Hi,

Some of the styles in your SVG icon buttons are causing errors on deployments with more restrictive settings that block unsafe inline styles. Both visual and console errors.

To fix this, you can convert the SVG styles into attributes. (you can use https://jakearchibald.github.io/svgomg/)

Screenshot 2024-12-13 at 18 47 14 Screenshot 2024-12-13 at 18 43 33 Screenshot 2024-12-13 at 18 46 37
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

1 participant