about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBastien Orivel <eijebong@bananium.fr>2017-05-12 15:39:54 +0200
committerBastien Orivel <eijebong@bananium.fr>2017-05-12 15:42:54 +0200
commit26e7e491b4f78c87c94fb6ad83fbe85ff9c5761b (patch)
tree37a0f469b3984dac53707dfdd0696d7989366d99
parente19ccb71c8427135a69d874623af68422aeeb9e9 (diff)
downloadrust-26e7e491b4f78c87c94fb6ad83fbe85ff9c5761b.tar.gz
rust-26e7e491b4f78c87c94fb6ad83fbe85ff9c5761b.zip
rustdoc: Break words in the location box of the sidebar.
This prevents long names from overflowing.
-rw-r--r--src/librustdoc/html/static/rustdoc.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css
index ddaa00aa4fb..5bbb7817a25 100644
--- a/src/librustdoc/html/static/rustdoc.css
+++ b/src/librustdoc/html/static/rustdoc.css
@@ -193,6 +193,7 @@ nav.sub {
 	font-size: 17px;
 	margin: 30px 0 20px 0;
 	text-align: center;
+	word-wrap: break-word;
 }
 
 .location:empty {