xavierbriole / react-cookienotice

A lightweight & customizable cookie banner for your React App
https://react-cookienotice.vercel.app
20 stars 5 forks source link

How can the z-index be set? #136

Closed Coder666 closed 1 year ago

Coder666 commented 2 years ago

How can the z-index of this component be set? It ignores the z-index of the container.

Coder666 commented 2 years ago

as a workaround I have brought the code into my project instead of as a module, and added z-index: inherit; to the index css

xavierbriole commented 2 years ago

You can also override the css style by adding a custom stylesheet or add it to your existing stylesheet