summary refs log tree commit diff
path: root/src/librustdoc/html/static/rustdoc.css
diff options
context:
space:
mode:
authorWesley Wiser <wwiser@gmail.com>2017-03-23 23:05:30 -0400
committerWesley Wiser <wwiser@gmail.com>2017-03-28 22:45:10 -0400
commit2040daee472033ae5a0d369ae05bd07706595854 (patch)
treee48b280cb45a4c6d772608b2a0d48a095d2fef70 /src/librustdoc/html/static/rustdoc.css
parent07a34293faeb10757944ce2fa9d552cc2b189583 (diff)
downloadrust-2040daee472033ae5a0d369ae05bd07706595854.tar.gz
rust-2040daee472033ae5a0d369ae05bd07706595854.zip
Make the rustdoc sidebar white on `src` pages
Fixes #40724
Diffstat (limited to 'src/librustdoc/html/static/rustdoc.css')
-rw-r--r--src/librustdoc/html/static/rustdoc.css6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css
index 3df120eece9..4edf6309346 100644
--- a/src/librustdoc/html/static/rustdoc.css
+++ b/src/librustdoc/html/static/rustdoc.css
@@ -141,7 +141,7 @@ pre {
 	padding: 14px;
 }
 
-.source pre {
+.source .content pre {
 	padding: 20px;
 }
 
@@ -149,7 +149,7 @@ img {
 	max-width: 100%;
 }
 
-.content.source {
+.source .content {
 	margin-top: 50px;
 	max-width: none;
 	overflow: visible;
@@ -231,7 +231,7 @@ nav.sub {
 	padding: 15px 0;
 }
 
-.content.source pre.rust {
+.source .content pre.rust {
 	white-space: pre;
 	overflow: auto;
 	padding-left: 0;