Skip to content

Commit 290f9e9

Browse files
authored
Rollup merge of #53041 - GuillaumeGomez:fix-code-css-rule, r=QuietMisdreavus
Fix invalid code css rule Fixes #53017. r? @QuietMisdreavus
2 parents 0fbfdf6 + e2cda7d commit 290f9e9

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)