Skip to content

Commit 4f6902d

Browse files
committed
fix underlining of hovered intra-doc links.
fixes #133484
1 parent 2ae9916 commit 4f6902d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/librustdoc/html/static/css/rustdoc.css

+2
Original file line numberDiff line numberDiff line change
@@ -942,6 +942,8 @@ rustdoc-toolbar {
942942
pre, .rustdoc.src .example-wrap, .example-wrap .src-line-numbers {
943943
background-color: var(--code-block-background-color);
944944
border-radius: var(--code-block-border-radius);
945+
/* code blocks within links (such as in most intra-doc links) should be underlined */
946+
text-decoration: inherit;
945947
}
946948

947949
#main-content {

0 commit comments

Comments
 (0)