diff --git a/boostlook.css b/boostlook.css index 1f39113..cb6aec2 100644 --- a/boostlook.css +++ b/boostlook.css @@ -459,7 +459,6 @@ p, h1, h2, h3, h4, h5, h6 { .boostlook #content { padding-top: 1.25rem; - overflow-y: auto; } .boostlook #footer { @@ -552,9 +551,13 @@ p, h1, h2, h3, h4, h5, h6 { overflow-y: auto; } -.boostlook #toc.toc2 { +.boostlook #toc.toc2, +#boost-legacy-docs-wrapper:not(:has(article.doc)) #toc.toc2.is-active { position: static; } +#boost-legacy-docs-wrapper:not(:has(article.doc)) #toc.toc2 { + position: fixed; +} .boostlook #toc.toc2 > ul { padding-bottom: 2rem; @@ -764,6 +767,10 @@ p, h1, h2, h3, h4, h5, h6 { position: fixed; } +.boostlook #toc.toc2.nav-container.is-active { + position: static; +} + .boostlook #header .nav-container.is-active { padding: 1rem; }