Skip to content

Commit 5bac3d7

Browse files
committed
rustdoc: ayu code color selector more specific
According to #100960 (comment), this selector is only really intended to apply to item info. However, it's so broad that it's hard to tell when it deliberately applies vs where it accidentally applies.
1 parent 4a24f08 commit 5bac3d7

File tree

1 file changed

+1
-1
lines changed
  • src/librustdoc/html/static/css/themes

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ h4 {
4747
.docblock pre > code, pre > code {
4848
color: #e6e1cf;
4949
}
50-
span code {
50+
.item-info code {
5151
color: #e6e1cf;
5252
}
5353
.docblock a > code {

0 commit comments

Comments
 (0)