Skip to content

Commit

Permalink
Rollup merge of rust-lang#41951 - Eijebong:master, r=GuillaumeGomez
Browse files Browse the repository at this point in the history
rustdoc: Break words in the location box of the sidebar.

This prevents long names from overflowing.

Before:
![before](https://img.bananium.fr/eijebong/afcfe18b-393e-4d3b-bc11-fe3def6659b9.png)

After:
![after](https://img.bananium.fr/eijebong/9483466b-3b6c-4509-ab0f-fd0c6572ef27.png)
  • Loading branch information
Mark-Simulacrum authored May 13, 2017
2 parents 7b1e51d + 26e7e49 commit f28e3cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ nav.sub {
font-size: 17px;
margin: 30px 0 20px 0;
text-align: center;
word-wrap: break-word;
}

.location:empty {
Expand Down

0 comments on commit f28e3cd

Please sign in to comment.