Skip to content

Commit

Permalink
Fix navigation menu on mobile devices
Browse files Browse the repository at this point in the history
- The code blocks were rendering on top of the navigation menu on mobile devices, z-index was the fix
  • Loading branch information
welpie21 committed Jan 15, 2025
1 parent c321dab commit 56b98a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/RenderDoc.astro
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const breadcrumb = await generateBreadcrumb(collection, slug);
>
<div class="flex bg-background flex-grow justify-between">
<div class:list={[
"min-w-[350px] border-r border-border bg-background flag-sidebar-container",
"min-w-[350px] border-r border-border bg-background flag-sidebar-container z-10",
"max-lg:fixed max-lg:top-14 max-lg:left-0 max-lg:w-full transition-transform duration-300"
]}>
<div class="sticky top-0 max-h-screen h-screen">
Expand Down

0 comments on commit 56b98a9

Please sign in to comment.