Skip to content

Commit 078c26a

Browse files
committed
add other descriptions
1 parent f82d9b2 commit 078c26a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/librustdoc/html/static/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2913,7 +2913,7 @@ function defocusSearchBar() {
29132913
["⏎", "Go to active search result"],
29142914
["+", "Expand all sections"],
29152915
["-", "Collapse all sections"],
2916-
["esc", "Close the search view"],
2916+
["esc", "<p>Close the search view,</p><p>Remove the query parameters from the URL,</p><p>Close the help popup,</p><p>Close the theme list if open,</p><p>Blur the focus from the search input</p>"],
29172917
].map(function(x) {
29182918
return "<dt>" +
29192919
x[0].split(" ")

src/librustdoc/html/static/rustdoc.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,6 @@ body.blur > :not(#help) {
798798
float: left;
799799
clear: left;
800800
display: block;
801-
margin-right: 0.5rem;
802801
}
803802
#help > div > span {
804803
text-align: center;
@@ -809,7 +808,7 @@ body.blur > :not(#help) {
809808
padding-bottom: 4px;
810809
margin-bottom: 6px;
811810
}
812-
#help dd { margin: 5px 35px; }
811+
#help dd { margin: 5px 35px 5px 50px; }
813812
#help .infos { padding-left: 0; }
814813
#help h1, #help h2 { margin-top: 0; }
815814
#help > div div {

0 commit comments

Comments
 (0)