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

fix: Add style as class to fix CSP issue #2761

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

werdnanoslen
Copy link
Contributor

@werdnanoslen werdnanoslen commented Feb 13, 2024

Summary

Moves style into scss file instead of setAttribute

Related Issues or PRs

Resolves #1926

How To Test

Follow steps in original issue

Screenshots (optional)

Copy link
Contributor

github-actions bot commented Feb 13, 2024

Warnings
⚠️ This PR does not include changes to tests, even though it affects source code.
⚠️ This PR does not include changes to storybook, even though it affects component code.

Generated by 🚫 dangerJS against d5928a2

@werdnanoslen werdnanoslen changed the title Add style as class to fix CSP issue fix: Add style as class to fix CSP issue Feb 13, 2024
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.

[fix] Modal's use of setting .style breaks strict Content-Security-Policy
1 participant