Skip to content

Commit

Permalink
Fix rustdoc fallout from #20092
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
barosl committed Jan 7, 2015
1 parent 2a8cb67 commit 29ff43b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/main.css
Expand Up @@ -157,7 +157,6 @@ nav.sub {
left: 0;
top: 0;
min-height: 100%;
z-index: -1;
}

.content, nav { max-width: 960px; }
Expand Down Expand Up @@ -221,6 +220,7 @@ nav.sub {
.content pre.line-numbers {
float: left;
border: none;
position: relative;

-webkit-user-select: none;
-moz-user-select: none;
Expand Down

0 comments on commit 29ff43b

Please sign in to comment.