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.

icons: Add icon-independent .message-actions-menu-button class.

Karl Stolley2a8f14e40ae9
diff --git a/web/src/popover_menus.js b/web/src/popover_menus.js
index 19970661fb2..577bb5c8089 100644
--- a/web/src/popover_menus.js
+++ b/web/src/popover_menus.js
@@ -234,7 +234,7 @@ export function toggle_message_actions_menu(message) {
}
message_viewport.maybe_scroll_to_show_message_top();
- const $popover_reference = $(".selected_message .actions_hover .zulip-icon-ellipsis-v-solid");
+ const $popover_reference = $(".selected_message .actions_hover .message-actions-menu-button");
message_actions_popover_keyboard_toggle = true;
$popover_reference.trigger("click");
return true;
@@ -695,7 +695,7 @@ export function initialize() {
},
});
- register_popover_menu(".actions_hover .zulip-icon-ellipsis-v-solid", {
+ register_popover_menu(".actions_hover .message-actions-menu-button", {
// 320px is our minimum supported width for mobile. We will allow the value to flex
// to a max of 350px but we shouldn't make the popover wider than this.
maxWidth: "min(max(320px, 100vw), 350px)",
diff --git a/web/templates/message_controls.hbs b/web/templates/message_controls.hbs
index d7d6e6f6732..add390b4f64 100644
--- a/web/templates/message_controls.hbs
+++ b/web/templates/message_controls.hbs
@@ -11,7 +11,7 @@
{{#unless msg/locally_echoed}}
<div class="actions_hover message_control_button" data-tooltip-template-id="message-actions-tooltip-template" >
- <i class="zulip-icon zulip-icon-more-vertical" role="button" aria-haspopup="true" tabindex="0" aria-label="{{t 'Message actions' }}"></i>
+ <i class="message-actions-menu-button zulip-icon zulip-icon-more-vertical" role="button" aria-haspopup="true" tabindex="0" aria-label="{{t 'Message actions' }}"></i>
</div>
{{/unless}}