fix: violates the following Content Security Policy directive: font-src#6652
fix: violates the following Content Security Policy directive: font-src#6652sadeghbarati wants to merge 5 commits intonolimits4web:masterfrom
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 |
|
Can this please be merged? We are facing a huge headache with this regarding CSP violations. |
|
@nolimits4web what keeps you from merging and integrating this change? We also face CSP issues with swiper and need this fix. |
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/svgYou might need to patch the package cause I think this will not get merged soon
Based on your
packageManagersearch forpatch package