Skip to content

Commit e2cda7d

Browse files
Fix invalid code css rule
1 parent 75af9df commit e2cda7d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ h2, h3:not(.impl):not(.method):not(.type):not(.tymethod), h4:not(.method):not(.t
3333
background: rgba(0, 0, 0, 0);
3434
}
3535

36-
.docblock p > code, .docblock-short p > code {
36+
.docblock code, .docblock-short code {
3737
background-color: #2A2A2A;
3838
}
3939
pre {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ h2, h3:not(.impl):not(.method):not(.type):not(.tymethod), h4:not(.method):not(.t
3535
background: rgba(0, 0, 0, 0);
3636
}
3737

38-
.docblock p > code, .docblock-short p > code {
38+
.docblock code, .docblock-short code {
3939
background-color: #F5F5F5;
4040
}
4141
pre {

0 commit comments

Comments
 (0)