Skip to content

Commit b32ce95

Browse files
authored
Rollup merge of #102330 - notriddle:notriddle/srclink, r=GuillaumeGomez
rustdoc: remove no-op CSS `.srclink { font-weight; font-size }` When this CSS was added in 34bd2b8, source links were nested below headers. https://github.com/rust-lang/rust/blob/34bd2b845b3acd84c5a9bddae3ff8081c19ec5e9/src/librustdoc/html/render.rs#L4015-L4019 Now, thanks to 458e721, they are now siblings of headers, and thanks to 270d09d, they have the same font size that they would've had anyway.
2 parents 8b635cb + 3fac709 commit b32ce95

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

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

-7
Original file line numberDiff line numberDiff line change
@@ -1116,13 +1116,6 @@ so that we can apply CSS-filters to change the arrow color in themes */
11161116
color: var(--right-side-color);
11171117
}
11181118

1119-
1120-
.impl-items .srclink, .impl .srclink, .methods .srclink {
1121-
/* Override header settings otherwise it's too bold */
1122-
font-weight: normal;
1123-
font-size: 1rem;
1124-
}
1125-
11261119
pre.rust .question-mark {
11271120
font-weight: bold;
11281121
}

0 commit comments

Comments
 (0)