Skip to content

Conversation

@iantonge
Copy link
Contributor

@iantonge iantonge commented Apr 9, 2025

Addresses issue #27 by loading the CSS into a stylesheet and adopting it instead of appending the styles in a <style> element. This allows the styles to be applied without violating CSPs which forbid inline styles.

@Amphiluke Amphiluke merged commit de800f4 into Amphiluke:master Apr 10, 2025
1 check passed
@Amphiluke Amphiluke linked an issue Apr 10, 2025 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

Inline style elements are not CSP friendly

2 participants