mirror of https://github.com/zulip/zulip.git
settings_config: Use `kbd` for `realm_enter_send` label.
Fixes: #29083.
This commit is contained in:
parent
671946351c
commit
48b60db4a4
|
@ -6,6 +6,7 @@ import render_settings_overlay from "../templates/settings_overlay.hbs";
|
|||
import render_settings_tab from "../templates/settings_tab.hbs";
|
||||
|
||||
import * as browser_history from "./browser_history";
|
||||
import * as common from "./common";
|
||||
import * as flatpickr from "./flatpickr";
|
||||
import {$t} from "./i18n";
|
||||
import * as modals from "./modals";
|
||||
|
@ -147,6 +148,7 @@ export function build_page() {
|
|||
|
||||
settings_bots.update_bot_settings_tip($("#personal-bot-settings-tip"), false);
|
||||
$(".settings-box").html(rendered_settings_tab);
|
||||
common.adjust_mac_kbd_tags("#user_enter_sends_label kbd");
|
||||
}
|
||||
|
||||
export function open_settings_overlay() {
|
||||
|
|
|
@ -628,7 +628,6 @@ export const realm_user_settings_defaults_labels = {
|
|||
defaultMessage: "Display availability to other users",
|
||||
}),
|
||||
realm_presence_enabled_parens_text: $t({defaultMessage: "invisible mode off"}),
|
||||
realm_enter_sends: $t({defaultMessage: "Enter sends when composing a message"}),
|
||||
realm_send_read_receipts: $t({defaultMessage: "Allow other users to view read receipts"}),
|
||||
realm_send_private_typing_notifications: $t({
|
||||
defaultMessage: "Let recipients see when a user is typing direct messages",
|
||||
|
|
|
@ -90,7 +90,8 @@
|
|||
}
|
||||
|
||||
.enter_sends_choices,
|
||||
#user_enter_sends_label {
|
||||
#user_enter_sends_label,
|
||||
#realm_enter_sends_label {
|
||||
& kbd {
|
||||
background-color: hsl(211deg 29% 14%);
|
||||
border-color: hsl(211deg 29% 14%);
|
||||
|
|
|
@ -518,7 +518,8 @@ input[type="checkbox"] {
|
|||
}
|
||||
}
|
||||
|
||||
#user_enter_sends_label kbd {
|
||||
#user_enter_sends_label kbd,
|
||||
#realm_enter_sends_label kbd {
|
||||
/* 14px at 15px/1em */
|
||||
font-size: 0.9333em;
|
||||
font-style: normal;
|
||||
|
|
Loading…
Reference in New Issue