Skip to content

Getting error in the tooltips and legends as I introduced CSP the UI is affected mentioned places #613

Open
@Muthukumar21

Description

USED CSP in the project

ERROR:

apexcharts.common.js:6 Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self' https://fonts.googleapis.com https://fonts.gstatic.com https://fonts.gstatic.com 'nonce-1719228660961' 'sha256-SSGCrClQA5HDwURccGOBm8CCOfMt1gmANv5KkeZERXs=' 'sha256-r6YXf0FH0c0za5mvk1odENR+z4qTbdvjkTiTyOeKU30=' 'sha256-/WJG7UrVSV65TiIb5MysiEPGgEuQs5zXABABEWaxDfM=' 'sha256-/WJG7UrVSV65TiIb5MysiEPGgEuQs5zXABABEWaxDfM=' 'sha256-LA4KTjHIvt/e0fK4wBIK0x4Rx0vUv3/rVZ6n+vpT+GM=' 'sha256-d8+FRLATLC2M5M7tg4DHE7TNYGW0kr6ijwsDc7+G6DI='". Either the 'unsafe-inline' keyword, a hash ('sha256-0LPZoaUlRg6skhVDAsOXJDYd0QywFnns8TclTlStHUs='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present.

current output
image

expected output
image

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions