Skip to content

Commit 6d7ef10

Browse files
authored
Fix docblock short code missing end whitespaces
1 parent 4a2a5f0 commit 6d7ef10

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/librustdoc/html/static/rustdoc.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,9 @@ nav.sub {
405405
text-overflow: ellipsis;
406406
margin: 0;
407407
}
408+
.docblock-short code {
409+
white-space: pre-wrap;
410+
}
408411

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

0 commit comments

Comments
 (0)