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

CSP Violation for Inline Style - Height and Width #202

Closed
ckbuwe opened this issue Jan 2, 2025 · 1 comment
Closed

CSP Violation for Inline Style - Height and Width #202

ckbuwe opened this issue Jan 2, 2025 · 1 comment
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@ckbuwe
Copy link

ckbuwe commented Jan 2, 2025

Is your feature request related to a problem? Please describe.
The library adds an inline style for height and width. This violates our CSP policy for unsafe-inline

Describe the solution you'd like
no inline styles or have a class option for setting height and width

Describe alternatives you've considered
none

Additional context

@ckbuwe ckbuwe added the enhancement New feature or request label Jan 2, 2025
@palcarazm palcarazm added the wontfix This will not be worked on label Jan 2, 2025
@palcarazm palcarazm closed this as not planned Won't fix, can't repro, duplicate, stale Jan 2, 2025
@palcarazm
Copy link
Owner

Hi,

Thanks for your issue.

Controlling width and height from inline style is necessary for a correct render based on content size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants