Fix rustdoc fallout from #20092
Due to the CSS changes done by the previous patch to make the line numbers clickable (#20092), the sidebar became unclickable. This commit reverts the changes and adopts an alternative approach.
This commit is contained in:
parent
2a8cb678e6
commit
29ff43bbbb
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,6 @@ nav.sub {
|
|||
left: 0;
|
||||
top: 0;
|
||||
min-height: 100%;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.content, nav { max-width: 960px; }
|
||||
|
|
@ -221,6 +220,7 @@ nav.sub {
|
|||
.content pre.line-numbers {
|
||||
float: left;
|
||||
border: none;
|
||||
position: relative;
|
||||
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue