mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 15:42:49 +00:00
Fix langref.html anchor navigation
This commit is contained in:
parent
ab43f2376e
commit
ecd38c70cc
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user