Skip to content

Commit 7585632

Browse files
Fix run button style
1 parent 2954cb5 commit 7585632

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/librustdoc/html/static/rustdoc.css

+2-1
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

+2-1
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

+2-1
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)