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

Unnecessary svg for checkbox #47

Open
stefanak-michal opened this issue Aug 15, 2024 · 0 comments
Open

Unnecessary svg for checkbox #47

stefanak-michal opened this issue Aug 15, 2024 · 0 comments

Comments

@stefanak-michal
Copy link

I hit a problem with masked ::before for checkbox. I use this css library in website loaded inside of iframe in closed environment with very strict rules. Console contains this error:

Refused to load the image 'data:image/svg+xml;base64,PHN2.....3ZnPgo=' because it violates the following Content Security Policy directive: "default-src 'self' hidden-hostname-1 https://localhost:4746 https://localhost:4748 hidden-hostname-2 'unsafe-inline' 'unsafe-eval'". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.

Even if you don't use this svg and remove ::before, the checkbox looks good

image

Would it be possible to remove this custom svg for checkbox?

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