Skip to content

Commit

Permalink
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2910,7 +2910,7 @@ function defocusSearchBar() {
["-", "Collapse all sections"],
].map(x => "<dt>" +
x[0].split(" ")
.map((y, index) => (index & 1) === 0 ? "<kbd>" + y + "</kbd>" : y)
.map((y, index) => (index & 1) === 0 ? "<kbd>" + y + "</kbd>" : " " + y + " ")
.join("") + "</dt><dd>" + x[1] + "</dd>").join("");
var div_shortcuts = document.createElement("div");
addClass(div_shortcuts, "shortcuts");
Expand Down
1 change: 1 addition & 0 deletions src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,7 @@ body.blur > :not(#help) {
float: left;
clear: left;
display: block;
margin-right: 0.5rem;
}
#help > div > span {
text-align: center;
Expand Down
1 change: 0 additions & 1 deletion src/librustdoc/html/static/themes/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,6 @@ a.test-arrow {
#help dt {
border-color: #bfbfbf;
background: rgba(0,0,0,0);
color: black;
}

.since {
Expand Down

0 comments on commit e57f1cf

Please sign in to comment.