Skip to content

Commit 6d5d671

Browse files
fix scrollbar on toc (#445)
1 parent 0f39e60 commit 6d5d671

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

apps/website/components/layout/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export function DocsPage({ toc = [], pageActions, ...props }: DocsPageProps) {
3535
<p className="text-sm text-brand-white mb-2 font-medium">
3636
On this page
3737
</p>
38-
<div className="flex flex-col pb-4 border-b border-white/20">
38+
<div className="flex flex-col pb-4 border-b border-white/20 max-h-2/3 overflow-y-auto sidebar-scrollbar">
3939
{toc.map((item) => (
4040
<TocItem key={item.url} item={item} />
4141
))}
Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
11
{
22
"title": "Integrations",
3-
"pages": [
4-
"better-auth",
5-
"mcp-ui",
6-
"openai",
7-
"polar",
8-
"workos",
9-
"clerk",
10-
"auth0"
11-
],
123
"defaultOpen": true,
134
"root": true
145
}

0 commit comments

Comments
 (0)