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: csp errors on 2 illustrations #6202

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

devadula-nandan
Copy link
Contributor

@devadula-nandan devadula-nandan commented Oct 10, 2024

Closes #6178

moved internal fill css to fill attribute on paths in svg

What did you change?

packages/ibm-products/src/components/EmptyStates/assets/NotificationsIllustration.js
packages/ibm-products/src/components/EmptyStates/assets/NoDataIllustration.js

How did you test and verify your work?

as u can see in repro if we remove the style tag from dom, the error is gone.
we are removing the style tag in this pr, which would solve the issue.

Screen.Recording.2024-10-10.at.4.20.39.PM.mov

@devadula-nandan devadula-nandan requested a review from a team as a code owner October 10, 2024 10:53
@devadula-nandan devadula-nandan requested review from sangeethababu9223 and amal-k-joy and removed request for a team October 10, 2024 10:53
Copy link

netlify bot commented Oct 10, 2024

Deploy Preview for ibm-products-web-components canceled.

Name Link
🔨 Latest commit cb0fddb
🔍 Latest deploy log https://app.netlify.com/sites/ibm-products-web-components/deploys/6707b23ae3d6cc000815eae0

Copy link

netlify bot commented Oct 10, 2024

Deploy Preview for carbon-for-ibm-products ready!

Name Link
🔨 Latest commit cb0fddb
🔍 Latest deploy log https://app.netlify.com/sites/carbon-for-ibm-products/deploys/6707b23af0ba3e000865503b
😎 Deploy Preview https://deploy-preview-6202--carbon-for-ibm-products.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@sangeethababu9223 sangeethababu9223 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@matthewgallo matthewgallo added this pull request to the merge queue Oct 14, 2024
Merged via the queue into carbon-design-system:main with commit ad8c2d8 Oct 14, 2024
28 checks passed
@devadula-nandan devadula-nandan deleted the 6178 branch October 17, 2024 06:15
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.

[CSP]: Content security policy violations in SVGs
3 participants