Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

popover_menus: Change the selector `.enter_sends` for opening tippyjs popover.

Lalitfd830ce453ef
diff --git a/web/src/popover_menus.js b/web/src/popover_menus.js
index 10ebb480398..a2b4f8e69d8 100644
--- a/web/src/popover_menus.js
+++ b/web/src/popover_menus.js
@@ -272,7 +272,7 @@ export function initialize() {
},
});
- tippy_no_propagation(".enter_sends", {
+ tippy_no_propagation(".open_enter_sends_dialog", {
placement: "top",
onShow(instance) {
on_show_prep(instance);
diff --git a/web/styles/compose.css b/web/styles/compose.css
index b913c1cf3a1..b0f96060769 100644
--- a/web/styles/compose.css
+++ b/web/styles/compose.css
@@ -597,7 +597,7 @@ input.recipient_box {
}
}
-.enter_sends {
+.open_enter_sends_dialog {
font-size: 12px;
height: 14px;
padding-left: 4px;
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index f1595b0e14b..cd520d10483 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -64,7 +64,7 @@
box-shadow: inset 0 1px 0 hsl(0deg 0% 0% / 20%);
}
- .enter_sends,
+ .open_enter_sends_dialog,
.enter_sends_choices {
color: hsl(236deg 33% 90%);
diff --git a/web/templates/compose.hbs b/web/templates/compose.hbs
index d806fdd8c54..4e4414a31d4 100644
--- a/web/templates/compose.hbs
+++ b/web/templates/compose.hbs
@@ -117,7 +117,7 @@
</div>
<div class="compose_bottom_bottom_container">
<span id="compose_limit_indicator"></span>
- <div class="enter_sends">
+ <div class="open_enter_sends_dialog">
<span class="enter_sends_true">
{{#tr}}
<z-shortcut></z-shortcut> to send