Skip to content

Commit f92cd67

Browse files
Improve new search result display on mobile
1 parent 8a35cc3 commit f92cd67

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/librustdoc/html/static/css/rustdoc.css

+8
Original file line numberDiff line numberDiff line change
@@ -1722,6 +1722,14 @@ in source-script.js
17221722
display: block;
17231723
}
17241724

1725+
.search-results > a > .type-kind {
1726+
display: inline-block;
1727+
}
1728+
.search-results > a > .result-name {
1729+
display: inline-block;
1730+
margin-left: 7px;
1731+
}
1732+
17251733
/* Display an alternating layout on tablets and phones */
17261734
.search-results > a {
17271735
padding: 5px 0px;

0 commit comments

Comments
 (0)