diff --git a/src/components/docPage/index.tsx b/src/components/docPage/index.tsx index 1776d3129ef37..0874f3d7655ec 100644 --- a/src/components/docPage/index.tsx +++ b/src/components/docPage/index.tsx @@ -70,14 +70,15 @@ export function DocPage({ @@ -112,17 +113,50 @@ export function DocPage({ {hasGithub && } - - {hasToc && ( - - )} + {hasToc && ( + + )} + + + diff --git a/src/components/header.tsx b/src/components/header.tsx index cd4b767843ac7..159229a5f2681 100644 --- a/src/components/header.tsx +++ b/src/components/header.tsx @@ -32,7 +32,7 @@ export function Header({ {/* define a header-height variable for consumption by other components */} - + {pathname !== '/' && ( + ); } diff --git a/src/components/sidebar/index.tsx b/src/components/sidebar/index.tsx index dcb5b3a008976..b684f288e186e 100644 --- a/src/components/sidebar/index.tsx +++ b/src/components/sidebar/index.tsx @@ -81,7 +81,7 @@ export async function Sidebar({path, versions}: SidebarProps) { }); return ( -