Rollup merge of #59973 - Enity:fix-rustdoc-sidebar, r=GuillaumeGomez
Fix rustdoc sidebar z-index I think the screenshot will say everything:  live example: https://docs.rs/nom/4.2.3/nom/ I chose the smallest z-index to avoid problems with other blocks.
This commit is contained in:
commit
9014cfcee4
1 changed files with 2 additions and 1 deletions
|
|
@ -166,6 +166,7 @@ nav.sub {
|
|||
top: 0;
|
||||
height: 100vh;
|
||||
overflow: auto;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.sidebar .block > ul > li {
|
||||
|
|
@ -345,7 +346,7 @@ nav.sub {
|
|||
margin: 0;
|
||||
}
|
||||
.docblock-short code {
|
||||
white-space: nowrap;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.docblock h1, .docblock h2, .docblock h3, .docblock h4, .docblock h5 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue