Fixed documentation navigation overflow

This commit is contained in:
gbuomprisco
2024-06-09 00:10:00 +08:00
parent 337c8043c8
commit 134eeb2400

View File

@@ -112,7 +112,7 @@ export function DocsNavigation({ pages }: { pages: Cms.ContentItem[] }) {
style={{
height: `calc(100vh - 64px)`,
}}
className="sticky top-2 hidden w-80 shrink-0 border-r p-4 lg:flex"
className="sticky top-2 hidden w-80 shrink-0 border-r p-4 lg:flex overflow-y-auto"
>
<Tree pages={pages} level={0} activePath={activePath} />
</aside>