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

Add content security policy nonce to dashboard headers #48

Merged
merged 6 commits into from
Jun 15, 2024

Conversation

viamin
Copy link
Contributor

@viamin viamin commented May 28, 2024

Allows the styles to load on sites that don't allow unsafe-inline styles in their content security policy by adding a nonce to the style tag and adds a csp_meta tag.

Also replaces the width: 20%; inline styles with a CSS class defined in the header.

@ankane ankane merged commit f407bba into ankane:master Jun 15, 2024
0 of 4 checks passed
@ankane
Copy link
Owner

ankane commented Jun 15, 2024

Thanks @viamin!

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.

2 participants