docs - fix layout shift when expanding TOC

This commit is contained in:
Cody Glassman 2025-06-18 06:16:09 -07:00
parent 23a6208537
commit 638ceb73b7

View File

@ -78,4 +78,9 @@ tbody tr:hover {
.container:has(#left-sidebar) {
grid-template-columns: 310px minmax(0, 1fr);
}
}
}
/* Always enable scrollbar in left TOC to prevent layout shifts when expanding */
#left-sidebar {
overflow-y: scroll;
}