Increased z-index of theme dropdown

This commit is contained in:
datalore 2023-11-04 19:16:56 +01:00
parent 5093fbcb93
commit 53209356b3

View File

@ -8,7 +8,7 @@ export default function ThemeSwitcher(){
React.useEffect(() => {document.body.setAttribute("data-theme", theme)});
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("dark")}>Dark</a></li>
<li><a onClick={() => setTheme("synthwave")}>Synthwave</a></li>