Commit ecd38c70cc

Carlos Zúñiga <carlos.zun@gmail.com>
2021-04-09 18:50:14
Fix langref.html anchor navigation
1 parent ab43f23
Changed files (1)
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;
         }