mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
Stick search result (#22394)
* nimdoc: stick search result inside browser viewport * fix nimdoc.out.css --------- Co-authored-by: Locria Cyber <74560659+locriacyber@users.noreply.github.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user