Better styling of "Switch result tab" shortcut

This commit is contained in:
Smitty 2021-02-02 16:15:57 -05:00
parent 3182375e06
commit 87df27d71e
3 changed files with 2 additions and 2 deletions

View File

@ -2910,7 +2910,7 @@ function defocusSearchBar() {
["-", "Collapse all sections"], ["-", "Collapse all sections"],
].map(x => "<dt>" + ].map(x => "<dt>" +
x[0].split(" ") 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(""); .join("") + "</dt><dd>" + x[1] + "</dd>").join("");
var div_shortcuts = document.createElement("div"); var div_shortcuts = document.createElement("div");
addClass(div_shortcuts, "shortcuts"); addClass(div_shortcuts, "shortcuts");

View File

@ -798,6 +798,7 @@ body.blur > :not(#help) {
float: left; float: left;
clear: left; clear: left;
display: block; display: block;
margin-right: 0.5rem;
} }
#help > div > span { #help > div > span {
text-align: center; text-align: center;

View File

@ -239,7 +239,6 @@ a.test-arrow {
#help dt { #help dt {
border-color: #bfbfbf; border-color: #bfbfbf;
background: rgba(0,0,0,0); background: rgba(0,0,0,0);
color: black;
} }
.since { .since {