这是indexloc提供的服务,不要输入任何密码
Skip to content

Add z-index to ThemeSwitch menu #904

@PxlSyl

Description

@PxlSyl

Hi!

There's a small fix to do with the new ThemeSwitch menu, and with the PostBanner layout, see by yourself there :

https://tailwind-nextjs-starter-blog.vercel.app/blog/pictures-of-canada

Solution :

Add a z-index (z-50) to the menu, like this :

<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">

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions