Rollup merge of #59973 - Enity:fix-rustdoc-sidebar, r=GuillaumeGomez

Fix rustdoc sidebar z-index

I think the screenshot will say everything:
![image](https://user-images.githubusercontent.com/2884517/56098429-37fa3680-5f09-11e9-8c54-4e2548aa0818.png)

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:
Mazdak Farrokhzad 2019-04-16 05:14:22 +02:00 committed by GitHub
commit 9014cfcee4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {