Skip to content

Commit

Permalink
fix drawer z-index on lg screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Freymaurer committed Sep 20, 2024
1 parent 2fb094f commit 6ed8111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Navbar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const drawerIsOpen = Astro.props.drawerIsOpen
<!-- Page content here -->
<slot>
</div>
<div class="drawer-side z-50">
<div class="drawer-side z-50 lg:z-0">
<label for="my-drawer-input" aria-label="close sidebar" class="drawer-overlay"></label>
<RecMenu className="menu bg-base-200 lg:bg-base-100 lg:border-r-2 min-h-full w-80 p-4 menu-sm" links={links} isOpen={true}/>
</div>
Expand Down

0 comments on commit 6ed8111

Please sign in to comment.