Rollup merge of #102330 - notriddle:notriddle/srclink, r=GuillaumeGomez
rustdoc: remove no-op CSS `.srclink { font-weight; font-size }` When this CSS was added in34bd2b845b
, source links were nested below headers.34bd2b845b/src/librustdoc/html/render.rs (L4015-L4019)
Now, thanks to 458e7219bc2a62f72368279945cfda632a016da1, they are now siblings of headers, and thanks to270d09dca9
, they have the same font size that they would've had anyway.
This commit is contained in:
commit
b32ce95911
@ -1116,13 +1116,6 @@ so that we can apply CSS-filters to change the arrow color in themes */
|
||||
color: var(--right-side-color);
|
||||
}
|
||||
|
||||
|
||||
.impl-items .srclink, .impl .srclink, .methods .srclink {
|
||||
/* Override header settings otherwise it's too bold */
|
||||
font-weight: normal;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
pre.rust .question-mark {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user