Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6442580

Browse files
committedFeb 17, 2018
rustdoc: Remove visual overlap between § and [+]
1 parent 71c4da8 commit 6442580

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎src/librustdoc/html/static/rustdoc.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ h3.impl, h3.method, h4.method, h3.type, h4.type, h4.associatedconstant {
110110
}
111111
h3.impl, h3.method, h3.type {
112112
margin-top: 15px;
113+
padding-left: 15px;
113114
}
114115

115116
h1, h2, h3, h4,
@@ -508,10 +509,10 @@ a {
508509
.anchor {
509510
display: none;
510511
position: absolute;
511-
left: -25px;
512+
left: -5px;
512513
}
513514
.anchor.field {
514-
left: -20px;
515+
left: -5px;
515516
}
516517
.anchor:before {
517518
content: '\2002\00a7\2002';

0 commit comments

Comments
 (0)
Please sign in to comment.