Skip to content

Commit 0201f2f

Browse files
Fix display of search result crate filter dropdown
1 parent 1dcff2d commit 0201f2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,6 @@ table,
924924
#crate-search {
925925
min-width: 115px;
926926
margin-top: 5px;
927-
margin-left: 0.25em;
928927
padding-left: 0.3125em;
929928
padding-right: 23px;
930929
border: 1px solid;
@@ -941,6 +940,8 @@ table,
941940
background-size: 20px;
942941
background-position: calc(100% - 1px) 56%;
943942
background-image: /* AUTOREPLACE: */url("down-arrow.svg");
943+
max-width: 100%;
944+
text-overflow: ellipsis;
944945
}
945946
.search-container {
946947
margin-top: 4px;

0 commit comments

Comments
 (0)