Increased z-index of theme dropdown
This commit is contained in:
parent
5093fbcb93
commit
53209356b3
@ -8,7 +8,7 @@ export default function ThemeSwitcher(){
|
|||||||
React.useEffect(() => {document.body.setAttribute("data-theme", theme)});
|
React.useEffect(() => {document.body.setAttribute("data-theme", theme)});
|
||||||
|
|
||||||
return(
|
return(
|
||||||
<ul className="p-2 right-0 text-base-content">
|
<ul className="p-2 right-0 text-base-content z-10">
|
||||||
<li><a onClick={() => setTheme("light")}>Light</a></li>
|
<li><a onClick={() => setTheme("light")}>Light</a></li>
|
||||||
<li><a onClick={() => setTheme("dark")}>Dark</a></li>
|
<li><a onClick={() => setTheme("dark")}>Dark</a></li>
|
||||||
<li><a onClick={() => setTheme("synthwave")}>Synthwave</a></li>
|
<li><a onClick={() => setTheme("synthwave")}>Synthwave</a></li>
|
||||||
|
Loading…
Reference in New Issue
Block a user