{parentPage && (
diff --git a/site/src/app/(v2)/layout.tsx b/site/src/app/(v2)/layout.tsx
index d6e883af06..6c36ad469d 100644
--- a/site/src/app/(v2)/layout.tsx
+++ b/site/src/app/(v2)/layout.tsx
@@ -1,10 +1,12 @@
import { Footer } from "@/components/Footer";
+import { EmbedDetector } from "@/components/EmbedDetector";
import "@/styles/v2.css";
export default function Layout({ children }) {
return (
<>
{children}
+
>
);
diff --git a/site/src/components/DocsTableOfContents.tsx b/site/src/components/DocsTableOfContents.tsx
index da85628281..48914f194d 100644
--- a/site/src/components/DocsTableOfContents.tsx
+++ b/site/src/components/DocsTableOfContents.tsx
@@ -199,7 +199,7 @@ export function DocsTableOfContents({
ref={ref}
className={cn(
className,
- "lg:top-header pt-10 md:pt-36 lg:pt-6",
+ "lg:top-header pt-10 lg:pt-6",
"w-full lg:pointer-events-auto lg:sticky lg:block lg:max-w-aside lg:self-start lg:overflow-y-auto",
)}
>
diff --git a/site/src/components/EmbedDetector.tsx b/site/src/components/EmbedDetector.tsx
index c57846b8fb..0625ba2eb5 100644
--- a/site/src/components/EmbedDetector.tsx
+++ b/site/src/components/EmbedDetector.tsx
@@ -8,7 +8,6 @@ export function EmbedDetector() {
useEffect(() => {
if (queryParams?.get("embed") === "true") {
document.querySelector("body > header")?.classList.add("hidden");
- document.querySelector("body > div")?.classList.add("hidden");
}
}, [queryParams]);
diff --git a/site/src/components/v2/Header.tsx b/site/src/components/v2/Header.tsx
index 1a276112ed..00ab3af62c 100644
--- a/site/src/components/v2/Header.tsx
+++ b/site/src/components/v2/Header.tsx
@@ -27,7 +27,7 @@ export function Header({ active, subnav }: HeaderProps) {
const [ref, setRef] = useState(null);
return (