about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVitaly _Vi Shukela <vi0oss@gmail.com>2018-02-17 20:46:06 +0300
committerVitaly _Vi Shukela <vi0oss@gmail.com>2018-02-17 20:46:06 +0300
commit644258044d2bde356b2689634e357252dc43e087 (patch)
tree8dac6e77eef1b48d0a90d59f4db14241a2cc137f
parent71c4da866a0e71fccc25d9be7e86b992545d4f3d (diff)
downloadrust-644258044d2bde356b2689634e357252dc43e087.tar.gz
rust-644258044d2bde356b2689634e357252dc43e087.zip
rustdoc: Remove visual overlap between § and [+]
-rw-r--r--src/librustdoc/html/static/rustdoc.css5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css
index 515d728c174..86110e31e32 100644
--- a/src/librustdoc/html/static/rustdoc.css
+++ b/src/librustdoc/html/static/rustdoc.css
@@ -110,6 +110,7 @@ h3.impl, h3.method, h4.method, h3.type, h4.type, h4.associatedconstant {
 }
 h3.impl, h3.method, h3.type {
 	margin-top: 15px;
+	padding-left: 15px;
 }
 
 h1, h2, h3, h4,
@@ -508,10 +509,10 @@ a {
 .anchor {
 	display: none;
 	position: absolute;
-	left: -25px;
+	left: -5px;
 }
 .anchor.field {
-	left: -20px;
+	left: -5px;
 }
 .anchor:before {
 	content: '\2002\00a7\2002';