Skip to content

Commit f28e3cd

Browse files
Rollup merge of #41951 - Eijebong:master, r=GuillaumeGomez
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)
2 parents 7b1e51d + 26e7e49 commit f28e3cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustdoc/html/static/rustdoc.css

+1
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ nav.sub {
193193
font-size: 17px;
194194
margin: 30px 0 20px 0;
195195
text-align: center;
196+
word-wrap: break-word;
196197
}
197198

198199
.location:empty {

0 commit comments

Comments
 (0)