Skip to content

Commit 6d43bff

Browse files
authored
Fix scrollbar of SidebarNav to make it tappable (#6586)
1 parent 9a843b6 commit 6d43bff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Layout/Page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export function Page({children, toc, routeTree, meta, section}: PageProps) {
129129
'grid grid-cols-only-content lg:grid-cols-sidebar-content 2xl:grid-cols-sidebar-content-toc'
130130
)}>
131131
{showSidebar && (
132-
<div className="lg:-mt-16">
132+
<div className="lg:-mt-16 z-10">
133133
<div className="fixed top-0 py-0 shadow lg:pt-16 lg:sticky start-0 end-0 lg:shadow-none">
134134
<SidebarNav
135135
key={section}

0 commit comments

Comments
 (0)