Hidden theme dropdown menu behind the profile card

This commit is contained in:
aashay shah 2023-06-07 17:25:44 +05:30
parent 18a5096d94
commit 2285d21799

View File

@ -57,7 +57,7 @@ const ThemeChanger = ({ theme, setTheme, loading, themeConfig }) => {
</div>
<div
tabIndex={0}
className="mt-16 overflow-y-auto shadow-2xl top-px dropdown-content max-h-96 w-52 rounded-lg bg-base-200 text-base-content"
className="mt-16 overflow-y-auto shadow-2xl top-px dropdown-content max-h-96 w-52 rounded-lg bg-base-200 text-base-content z-10"
>
<ul className="p-4 menu compact">
{[