aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCarlos Zúñiga <carlos.zun@gmail.com>2021-04-09 11:50:14 -0500
committerAndrew Kelley <andrew@ziglang.org>2021-04-10 12:51:39 -0700
commitecd38c70cc0ce9173d7cd1d7e4cc146558e4f66a (patch)
tree66d7ccf016304095a3905f8bdf2d9f769da2317d /doc
parentab43f2376e5aa0541cfe6902a44bd8943d1cb5ec (diff)
downloadzig-ecd38c70cc0ce9173d7cd1d7e4cc146558e4f66a.tar.gz
zig-ecd38c70cc0ce9173d7cd1d7e4cc146558e4f66a.zip
Fix langref.html anchor navigation
Diffstat (limited to 'doc')
-rw-r--r--doc/langref.html.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in
index 9aa106fb54..3515875c87 100644
--- a/doc/langref.html.in
+++ b/doc/langref.html.in
@@ -85,7 +85,6 @@
#main-wrapper {
display: flex;
flex-direction: column;
- height: 100vh;
}
#contents-wrapper {
@@ -106,6 +105,11 @@
#main-wrapper {
flex-direction: row;
}
+ #toc {
+ height: 100vh;
+ position: sticky;
+ top: 0;
+ }
#contents-wrapper, #toc {
overflow: auto;
}