-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
fix: violates the following Content Security Policy directive: font-src #6652
base: master
Are you sure you want to change the base?
fix: violates the following Content Security Policy directive: font-src #6652
Conversation
This would also allow me to migrate the LVFS from Owl to Swiper. |
Would be great to see this merged as it avoids a lot of CSP violation reports. |
@sadeghbarati I'm not a maintainer, but could you please scope the CSS to not use :root? :root is a little too global, and the CSS will show up when inspecting using Chrome's Dev tools on ANY element on the page, even those completely unrelated to Swiper. For example, something like this:
|
Hi @nolimits4web - can this be reviewed and merged as it is violating |
Fixes #4990
Idea: https://antfu.me/posts/icons-in-pure-css
Add two CSS variable to manage default icons in Swiper Navigation
Used default icons in
icons/svg