');
+ }
+
function addTab(array, query, display) {
var extraStyle = '';
if (display === false) {
@@ -1225,7 +1229,7 @@
output += '' +
'' +
- displayPath + '' +
+ pathSplitter(displayPath) + '' +
name + ' | ' +
'' +
'' + escape(item.desc) +
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css
index 9b899dd4517..f10fa54050b 100644
--- a/src/librustdoc/html/static/rustdoc.css
+++ b/src/librustdoc/html/static/rustdoc.css
@@ -296,6 +296,11 @@ nav.sub {
overflow: auto;
}
+#results > table {
+ width: 100%;
+ table-layout: fixed;
+}
+
.content pre.line-numbers {
float: left;
border: none;
@@ -577,8 +582,16 @@ a {
display: block;
}
-.content .search-results td:first-child { padding-right: 0; }
-.content .search-results td:first-child a { padding-right: 10px; }
+.content .search-results td:first-child {
+ padding-right: 0;
+ width: 75%;
+}
+.content .search-results td:first-child a {
+ padding-right: 10px;
+}
+.content .search-results td:first-child a span {
+ float: left;
+}
tr.result span.primitive::after {
content: ' (primitive type)';
|