mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-22 03:44:24 +00:00
rollup merge of #20703: barosl/rustdoc-z-index-fallout
Due to the CSS changes done by the previous patch to make the line numbers clickable (#20092), the sidebar became unclickable. This PR reverts the changes and adopts an alternative approach. I'm very sorry for having broken things.
This commit is contained in:
commit
188bfbfd5d
@ -157,7 +157,6 @@ nav.sub {
|
|||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
z-index: -1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.content, nav { max-width: 960px; }
|
.content, nav { max-width: 960px; }
|
||||||
@ -221,6 +220,7 @@ nav.sub {
|
|||||||
.content pre.line-numbers {
|
.content pre.line-numbers {
|
||||||
float: left;
|
float: left;
|
||||||
border: none;
|
border: none;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
|
Loading…
Reference in New Issue
Block a user