Skip to content

Commit 0c695e0

Browse files
Rollup merge of #51297 - GuillaumeGomez:fix-run-but-style, r=QuietMisdreavus
Fix run button style r? @QuietMisdreavus
2 parents 4ce7ef5 + 7585632 commit 0c695e0

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/librustdoc/html/static/rustdoc.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,8 @@ a {
561561
content: '\2002\00a7\2002';
562562
}
563563

564-
.docblock a:not(.srclink):hover, .docblock-short a:not(.srclink):hover, .stability a {
564+
.docblock a:not(.srclink):not(.test-arrow):hover,
565+
.docblock-short a:not(.srclink):not(.test-arrow):hover, .stability a {
565566
text-decoration: underline;
566567
}
567568

src/librustdoc/html/static/themes/dark.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,8 @@ a {
163163
color: #ddd;
164164
}
165165

166-
.docblock a:not(.srclink), .docblock-short a:not(.srclink), .stability a {
166+
.docblock a:not(.srclink):not(.test-arrow), .docblock-short a:not(.srclink):not(.test-arrow),
167+
.stability a {
167168
color: #D2991D;
168169
}
169170

src/librustdoc/html/static/themes/light.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,8 @@ a {
163163
color: #000;
164164
}
165165

166-
.docblock a:not(.srclink), .docblock-short a:not(.srclink), .stability a {
166+
.docblock a:not(.srclink):not(.test-arrow), .docblock-short a:not(.srclink):not(.test-arrow),
167+
.stability a {
167168
color: #3873AD;
168169
}
169170

0 commit comments

Comments
 (0)