mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
Add "-" shortcut
This commit is contained in:
parent
7f6417e9b7
commit
5e116985eb
@ -105,7 +105,7 @@ r##"<!DOCTYPE html>
|
||||
<dd>Switch tab</dd>
|
||||
<dt>⏎</dt>
|
||||
<dd>Go to active search result</dd>
|
||||
<dt>+</dt>
|
||||
<dt style="width:31px;">+ / -</dt>
|
||||
<dd>Collapse/expand all sections</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
@ -213,6 +213,7 @@
|
||||
break;
|
||||
|
||||
case "+":
|
||||
case "-":
|
||||
ev.preventDefault();
|
||||
toggleAllDocs();
|
||||
break;
|
||||
|
@ -582,13 +582,14 @@ body.blur > :not(#help) {
|
||||
display: block;
|
||||
margin-top: -1px;
|
||||
}
|
||||
#help dd { margin: 5px 33px; }
|
||||
#help dd { margin: 5px 35px; }
|
||||
#help .infos { padding-left: 0; }
|
||||
#help h1, #help h2 { margin-top: 0; }
|
||||
#help > div div {
|
||||
width: 50%;
|
||||
float: left;
|
||||
padding: 20px;
|
||||
padding-left: 17px;
|
||||
}
|
||||
|
||||
.stab {
|
||||
|
Loading…
Reference in New Issue
Block a user