Closed Mistik closed 3 years ago
Hey @Mistik
You can overwrite the style in code like so:
<CookieConsent
style={{
alignItems: "baseline",
background: "#353535",
color: "white",
display: "block",
left: "initial",
right: "0",
position: "absolute",
width: "300px",
zIndex: "999",
margin: "20px"
}}
>
This will make the bar display as a sort of toastr in the bottom right:
I also made a StackBlitz :smile:
You can change more css to get the look you desire, good luck!
Hi
Im trying to make my button for cookie consent appear in the bottom right corner, how can I do this?
Here is an example of what I mean