summaryrefslogtreecommitdiff
path: root/lib/rdoc/generator/template/darkfish/css/rdoc.css
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/generator/template/darkfish/css/rdoc.css')
-rw-r--r--lib/rdoc/generator/template/darkfish/css/rdoc.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/rdoc/generator/template/darkfish/css/rdoc.css b/lib/rdoc/generator/template/darkfish/css/rdoc.css
index ebe2e93af6..7451b6ecb9 100644
--- a/lib/rdoc/generator/template/darkfish/css/rdoc.css
+++ b/lib/rdoc/generator/template/darkfish/css/rdoc.css
@@ -186,6 +186,10 @@ nav {
font-family: Helvetica, sans-serif;
font-size: 14px;
border-right: 1px solid #ccc;
+ position: sticky;
+ top: 0;
+ overflow: auto;
+ height: calc(100vh - 100px); /* reduce the footer height */
}
main {