about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorBarosl Lee <vcs@barosl.com>2015-01-08 03:10:02 +0900
committerBarosl Lee <vcs@barosl.com>2015-01-08 03:10:02 +0900
commit29ff43bbbb1fe1c694dd78f86b8800baf8a1ffa5 (patch)
tree333ff8167bd0ef5612d87dec47450ac606d900df /src
parent2a8cb678e61e91c160d80794b5fdd723d0d4211c (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/librustdoc/html/static/main.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/main.css b/src/librustdoc/html/static/main.css
index a5a48254141..5951ac2bae7 100644
--- a/src/librustdoc/html/static/main.css
+++ b/src/librustdoc/html/static/main.css
@@ -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;