about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-01-07 17:17:32 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-01-07 17:17:32 -0800
commit188bfbfd5d3943ee91b33bf0ebff98854831dcaa (patch)
tree1f9b8e749267b7499e31712b5852237325701042 /src
parentf25784899209f5c97bc32cbb4abf9ba57f1b12b8 (diff)
parent29ff43bbbb1fe1c694dd78f86b8800baf8a1ffa5 (diff)
downloadrust-188bfbfd5d3943ee91b33bf0ebff98854831dcaa.tar.gz
rust-188bfbfd5d3943ee91b33bf0ebff98854831dcaa.zip
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.
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;