Skip to content

Commit

Permalink
Rollup merge of rust-lang#49510 - GuillaumeGomez:anchor-field-positio…
Browse files Browse the repository at this point in the history
…n, r=QuietMisdreavus

Fix anchor position on fields

Take a look at `Option` variants for example and try to click on `§` to get the issue.

r? @QuietMisdreavus
  • Loading branch information
kennytm authored Apr 7, 2018
2 parents ee1014e + 2cbbf8d commit c41b2d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,9 @@ a {
left: -5px;
}
.small-section-header > .anchor {
left: -20px;
}
.small-section-header > .anchor:not(.field) {
left: -28px;
}
.anchor:before {
Expand Down

0 comments on commit c41b2d6

Please sign in to comment.