Skip to content

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/librustdoc/html/static/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2910,7 +2910,7 @@ function defocusSearchBar() {
29102910
["-", "Collapse all sections"],
29112911
].map(x => "<dt>" +
29122912
x[0].split(" ")
2913-
.map((y, index) => (index & 1) === 0 ? "<kbd>" + y + "</kbd>" : y)
2913+
.map((y, index) => (index & 1) === 0 ? "<kbd>" + y + "</kbd>" : " " + y + " ")
29142914
.join("") + "</dt><dd>" + x[1] + "</dd>").join("");
29152915
var div_shortcuts = document.createElement("div");
29162916
addClass(div_shortcuts, "shortcuts");

src/librustdoc/html/static/rustdoc.css

+1
Original file line numberDiff line numberDiff line change
@@ -798,6 +798,7 @@ body.blur > :not(#help) {
798798
float: left;
799799
clear: left;
800800
display: block;
801+
margin-right: 0.5rem;
801802
}
802803
#help > div > span {
803804
text-align: center;

src/librustdoc/html/static/themes/dark.css

-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,6 @@ a.test-arrow {
239239
#help dt {
240240
border-color: #bfbfbf;
241241
background: rgba(0,0,0,0);
242-
color: black;
243242
}
244243

245244
.since {

0 commit comments

Comments
 (0)