Skip to content

Commit b5c27b4

Browse files
Underline source code links on hover
1 parent 89bdc33 commit b5c27b4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,10 @@ nav.sub {
450450
border-bottom-left-radius: 5px;
451451
}
452452

453+
.example-wrap > pre.rust a:hover {
454+
text-decoration: underline;
455+
}
456+
453457
.rustdoc:not(.source) .example-wrap > pre:not(.line-number) {
454458
width: 100%;
455459
overflow-x: auto;

0 commit comments

Comments
 (0)