Skip to content

Commit 2ddcef3

Browse files
docs(layout): align docs sidebar with main content by reducing top padding
Slightly reduce the inner container's top padding from pt-6 to pt-2 to better align the sidebar with the main content and improve visual rhythm on docs pages. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
1 parent 917df21 commit 2ddcef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/app/docs/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default function DocsLayout({
6363
{/* Enhanced scrollable container */}
6464
<div
6565
ref={sidebarRef}
66-
className="relative h-full overflow-y-auto pr-4 pl-4 pt-6 pb-6 custom-scrollbar bg-background/95 backdrop-blur-sm rounded-lg border border-border/50 shadow-lg"
66+
className="relative h-full overflow-y-auto pr-4 pl-4 pt-2 pb-6 custom-scrollbar bg-background/95 backdrop-blur-sm rounded-lg border border-border/50 shadow-lg"
6767
>
6868
<DocSidebar className="" onNavigate={() => setOpen(false)} />
6969
</div>

0 commit comments

Comments
 (0)