Skip to content

Commit 98e768f

Browse files
Rollup merge of rust-lang#33829 - GuillaumeGomez:stability-css, r=steveklabnik
Fix invalid background color in stability elements r? @steveklabnik
2 parents 967c388 + 22d626f commit 98e768f

File tree

1 file changed

+4
-0
lines changed
  • src/librustdoc/html/static/styles

1 file changed

+4
-0
lines changed

src/librustdoc/html/static/styles/main.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ h2, h3:not(.impl):not(.method):not(.type):not(.tymethod), h4:not(.method):not(.t
3030
background-color: white;
3131
}
3232

33+
div.stability > em > code {
34+
background-color: initial;
35+
}
36+
3337
.docblock code {
3438
background-color: #F5F5F5;
3539
}

0 commit comments

Comments
 (0)