compose: Enclose hotkeys in kbd tag.

We change how `kdb` is displayed in dark-theme for
compose so that they don't take too much user attention
when composing.
This commit is contained in:
Aman Agrawal
2021-12-02 04:59:26 +00:00
committed by Tim Abbott
parent 7610b33963
commit ffd9d18577
7 changed files with 36 additions and 20 deletions

View File

@@ -5,6 +5,7 @@ import render_compose from "../templates/compose.hbs";
import * as blueslip from "./blueslip";
import * as channel from "./channel";
import * as common from "./common";
import * as compose_actions from "./compose_actions";
import * as compose_error from "./compose_error";
import * as compose_fade from "./compose_fade";
@@ -396,6 +397,7 @@ export function render_compose_box() {
}),
);
$(`.enter_sends_${user_settings.enter_sends}`).show();
common.adjust_mac_shortcuts(".enter_sends kbd");
}
export function initialize() {