Replies: 1 comment
-
You'll have to bring this to the react-indiana-drag-scroll itself, we're just using it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Please, help to deal with strict CSP policy while using Flowbite.
I installed flowbite-react in my NextJS app.
One of its components injects the following CSS code.
I have a very strict CSP policy that does not allow an unsafe-inline CSS.
I have a
nonce
generated in NextJS middleware, that can be accessed by server-side components. I use NextJS 14 with "app" directory.Is there any way to pass a nonce to CSS styles mentioned earlier?
It should look like
<style type="text/css" nonce="dfsagssdfgsdfsgdfsg">
.Style script is injected by
react-indiana-drag-scroll
that isflowbite-react
dependency.Beta Was this translation helpful? Give feedback.
All reactions