Skip to content

Commit

Permalink
unyama
Browse files Browse the repository at this point in the history
  • Loading branch information
tacheraSasi committed Nov 30, 2024
1 parent f8c5303 commit 2252d50
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions website/app/docs/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ export default function DocsLayout({ children }: DocsLayoutProps) {
return (
<div className="flex min-h-screen max-w-screen-xl mx-auto">
{/* Sidebar */}
<aside className="fixed left-0 top-0 z-30 w-[250px] sm:w-[300px] md:w-[380px] h-full border-r bg-background">
<aside className="hidden lg:block fixed left-0 top-0 z-30 w-[250px] sm:w-[300px] md:w-[380px] h-full border-r bg-background">
<ScrollArea className="h-full">
<Sidebar />
</ScrollArea>
</aside>

{/* Main Content */}
<main className="flex-1 pl-0 sm:pl-[250px] md:pl-[380px]">
<SiteHeader/>
<SiteHeader />
<div className="container max-w-3xl py-6 lg:py-10">{children}</div>
</main>
</div>
Expand Down

0 comments on commit 2252d50

Please sign in to comment.