Skip to content

Commit

Permalink
Update index.client.tsx (#4233)
Browse files Browse the repository at this point in the history
* Update index.client.tsx

* Create tough-shoes-check.md
  • Loading branch information
dimaMachina authored Feb 16, 2025
1 parent c71e92d commit 23b1c48
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/tough-shoes-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"nextra-theme-docs": patch
---

increate z-index for `type: menu` dropdown from `20` to `30`
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ const NavbarMenu: FC<{
'x:focus-visible:nextra-focus',
'nextra-scrollbar x:origin-top x:transition x:duration-200 x:ease-out x:data-closed:scale-95 x:data-closed:opacity-0 x:motion-reduce:transition-none',
'x:border x:border-black/5 x:dark:border-white/20',
'x:backdrop-blur-md x:bg-nextra-bg/70',
'x:z-30 x:rounded-md x:py-1 x:text-sm x:shadow-lg',
'x:backdrop-blur-md x:bg-nextra-bg/70',
// headlessui adds max-height as style, use !important to override
'x:max-h-[min(calc(100vh-5rem),256px)]!'
)}
Expand Down

0 comments on commit 23b1c48

Please sign in to comment.