Merge pull request #906 from PxlSyl/patch-1
Fix z-index in ThemeSwitch.tsx
This commit is contained in:
commit
37f3195288
@ -67,7 +67,7 @@ const ThemeSwitch = () => {
|
||||
leaveFrom="transform opacity-100 scale-100"
|
||||
leaveTo="transform opacity-0 scale-95"
|
||||
>
|
||||
<Menu.Items className="absolute right-0 mt-2 w-32 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none dark:bg-gray-800">
|
||||
<Menu.Items className="absolute right-0 z-50 mt-2 w-32 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none dark:bg-gray-800">
|
||||
<RadioGroup value={theme} onChange={setTheme}>
|
||||
<div className="p-1">
|
||||
<RadioGroup.Option value="light">
|
||||
|
Loading…
x
Reference in New Issue
Block a user