1
Fork 0

fix underlining of hovered intra-doc links.

fixes https://github.com/rust-lang/rust/issues/133484
This commit is contained in:
binarycat 2025-01-14 12:25:25 -06:00
parent 2ae9916816
commit 4f6902d1ef

View file

@ -942,6 +942,8 @@ rustdoc-toolbar {
pre, .rustdoc.src .example-wrap, .example-wrap .src-line-numbers {
background-color: var(--code-block-background-color);
border-radius: var(--code-block-border-radius);
/* code blocks within links (such as in most intra-doc links) should be underlined */
text-decoration: inherit;
}
#main-content {