Skip to content

Commit 26e7e49

Browse files
committed
rustdoc: Break words in the location box of the sidebar.
This prevents long names from overflowing.
1 parent e19ccb7 commit 26e7e49

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)