Skip to content

Commit

Permalink
Add word-wrap rule for short descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Oct 12, 2020
1 parent ce45b4f commit 9f1048d
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 @@ -390,6 +390,9 @@ nav.sub {
cursor: pointer;
}

.docblock-short {
overflow-wrap: anywhere;
}
.docblock-short p {
display: inline;
}
Expand Down

0 comments on commit 9f1048d

Please sign in to comment.