fix underlining of hovered intra-doc links.
fixes https://github.com/rust-lang/rust/issues/133484
This commit is contained in:
parent
2ae9916816
commit
4f6902d1ef
1 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue