Skip to content

Commit

Permalink
Rollup merge of rust-lang#53041 - GuillaumeGomez:fix-code-css-rule, r…
Browse files Browse the repository at this point in the history
…=QuietMisdreavus

Fix invalid code css rule

Fixes rust-lang#53017.

r? @QuietMisdreavus
  • Loading branch information
cramertj authored Aug 3, 2018
2 parents 0fbfdf6 + e2cda7d commit 290f9e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/themes/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ h2, h3:not(.impl):not(.method):not(.type):not(.tymethod), h4:not(.method):not(.t
background: rgba(0, 0, 0, 0);
}

.docblock p > code, .docblock-short p > code {
.docblock code, .docblock-short code {
background-color: #2A2A2A;
}
pre {
Expand Down
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/themes/light.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ h2, h3:not(.impl):not(.method):not(.type):not(.tymethod), h4:not(.method):not(.t
background: rgba(0, 0, 0, 0);
}

.docblock p > code, .docblock-short p > code {
.docblock code, .docblock-short code {
background-color: #F5F5F5;
}
pre {
Expand Down

0 comments on commit 290f9e9

Please sign in to comment.