about summary refs log tree commit diff
diff options
context:
space:
mode:
-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';