Fix langref.html anchor navigation

This commit is contained in:
Carlos Zúñiga 2021-04-09 11:50:14 -05:00 committed by Andrew Kelley
parent ab43f2376e
commit ecd38c70cc

View File

@ -85,7 +85,6 @@
#main-wrapper { #main-wrapper {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: 100vh;
} }
#contents-wrapper { #contents-wrapper {
@ -106,6 +105,11 @@
#main-wrapper { #main-wrapper {
flex-direction: row; flex-direction: row;
} }
#toc {
height: 100vh;
position: sticky;
top: 0;
}
#contents-wrapper, #toc { #contents-wrapper, #toc {
overflow: auto; overflow: auto;
} }