about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/librustdoc/html/static/main.css7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/main.css b/src/librustdoc/html/static/main.css
index f24110a62eb..eea776c1156 100644
--- a/src/librustdoc/html/static/main.css
+++ b/src/librustdoc/html/static/main.css
@@ -110,6 +110,13 @@ body {
     margin-bottom: 10px;
 }
 .block h2 { margin-top: 0; }
+.block a {
+    display: inline-block;
+    width: 100%;
+    text-overflow: ellipsis;
+    overflow: hidden;
+    line-height: 15px;
+}
 
 .content {
     background: #f3f3f3;