diff --git a/beta/src/components/Layout/Page.tsx b/beta/src/components/Layout/Page.tsx index 08fe22ee9..edc336115 100644 --- a/beta/src/components/Layout/Page.tsx +++ b/beta/src/components/Layout/Page.tsx @@ -97,8 +97,8 @@ export function Page({children, toc, routeTree, meta, section}: PageProps) { section === 'blog' && 'max-w-5xl mx-auto' )}> {showSidebar && ( -
-
+
+
-
+
{showToc && toc.length > 0 && }
diff --git a/beta/src/components/Layout/Toc.tsx b/beta/src/components/Layout/Toc.tsx index bc3125b99..1f048aef4 100644 --- a/beta/src/components/Layout/Toc.tsx +++ b/beta/src/components/Layout/Toc.tsx @@ -13,7 +13,7 @@ export function Toc({headings}: {headings: Toc}) { // Select the max TOC item we have here for now, but remove this after the fix. const selectedIndex = Math.min(currentIndex, headings.length - 1); return ( -