Skip to content

Commit

Permalink
Fix docblock short code missing end whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
pickfire authored Jan 30, 2021
1 parent 4a2a5f0 commit 6d7ef10
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,9 @@ nav.sub {
text-overflow: ellipsis;
margin: 0;
}
.docblock-short code {
white-space: pre-wrap;
}

.docblock h1, .docblock h2, .docblock h3, .docblock h4, .docblock h5 {
border-bottom: 1px solid;
Expand Down

0 comments on commit 6d7ef10

Please sign in to comment.