Skip to content

Commit

Permalink
Update [...path].astro
Browse files Browse the repository at this point in the history
  • Loading branch information
AlfieJones committed Jun 9, 2024
1 parent 5db17fb commit 6640520
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/marketing-astro/src/pages/docs/[...path].astro
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,14 @@ const sections = await getFiles();
>
<div class="md:hidden">
<MobileNavSidebar>
<div id="docs-sidebar-nav">
<div >
<NavSidebar path={path} sections={sections} mobile />
</div>
</MobileNavSidebar>
</div>
<div class="hidden md:relative md:block md:flex-none">
<div
id="docs-sidebar-nav"
class="sticky top-[4.5rem] border-r border-outline-variant md:w-56 lg:w-60 h-[calc(100vh-4.5rem)] overflow-y-auto overflow-x-hidden -ml-1 pl-1 scrollbar-thin py-16"
>
<NavSidebar path={path} sections={sections} />
Expand Down

0 comments on commit 6640520

Please sign in to comment.