From 094b0d4b8bc92230f3f3ebc2ac7a56b948d7e4cd Mon Sep 17 00:00:00 2001 From: radiumcoders Date: Sun, 27 Sep 2026 18:32:49 +0530 Subject: [PATCH] Stop the last TOC link from scrolling the whole docs page away The command dialog's sr-only header is absolutely positioned with no positioned ancestor, so it sat at the bottom of the docs content relative to the viewport and made as tall as the article. Jumping to a heading the docs box couldn't scroll to the top (like the last one) then scrolled the page itself, shoving the layout up with no way back since body hides overflow. Making the docs scroll box the containing block keeps such elements inside it. Co-Authored-By: Claude Opus 5.5 --- components/docs-shell.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/docs-shell.tsx b/components/docs-shell.tsx index 5ca81bc..97d45d6 100644 --- a/components/docs-shell.tsx +++ b/components/docs-shell.tsx @@ -29,7 +29,7 @@ export function DocsShell({ return (