summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/nimdoc.css8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/nimdoc.css b/doc/nimdoc.css
index 1417d9eff..3fb5497ff 100644
--- a/doc/nimdoc.css
+++ b/doc/nimdoc.css
@@ -769,7 +769,13 @@ div.search_results {
   background-color: var(--third-background);

   margin: 3em;

   padding: 1em;

-  border: 1px solid #4d4d4d; }

+  border: 1px solid #4d4d4d;

+  position: sticky;

+  top: 0;

+  isolation: isolate;

+  z-index: 1;

+  max-height: 100vh;

+  overflow-y: scroll; }

 

 div#global-links ul {

   margin-left: 0;