]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #41951 - Eijebong:master, r=GuillaumeGomez
authorMark Simulacrum <mark.simulacrum@gmail.com>
Sat, 13 May 2017 00:57:38 +0000 (18:57 -0600)
committerGitHub <noreply@github.com>
Sat, 13 May 2017 00:57:38 +0000 (18:57 -0600)
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)

src/librustdoc/html/static/rustdoc.css

index fc879dc0705f6310f5b9c376dbae68d517afcf8a..60ea6ed1d8d58753f6f5643b1590bde5f4c4372f 100644 (file)
@@ -193,6 +193,7 @@ nav.sub {
        font-size: 17px;
        margin: 30px 0 20px 0;
        text-align: center;
+       word-wrap: break-word;
 }
 
 .location:empty {