Merge pull request #31456 from gaoliang/main

Sticky table of contents
This commit is contained in:
Kubernetes Prow Robot
2022-01-25 07:56:30 -08:00
committed by GitHub
+6
View File
@@ -317,6 +317,12 @@ footer {
padding-top: 1.5rem !important;
top: 5rem !important;
@supports (position: sticky) {
position: sticky !important;
height: calc(100vh - 10rem);
overflow-y: auto;
}
#TableOfContents {
padding-top: 1rem;
}