Skip to content

Commit 268f282

Browse files
authored
Rollup merge of rust-lang#49510 - GuillaumeGomez:anchor-field-position, 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
2 parents 52fd166 + 2cbbf8d commit 268f282

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/librustdoc/html/static/rustdoc.css

+3
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,9 @@ a {
533533
left: -5px;
534534
}
535535
.small-section-header > .anchor {
536+
left: -20px;
537+
}
538+
.small-section-header > .anchor:not(.field) {
536539
left: -28px;
537540
}
538541
.anchor:before {

0 commit comments

Comments
 (0)