A platform for community discussion. Free, open, simple.
FIX: better chat-message-actions position (#19111)
Joffrey JAFFEUX3f24a5e9e2f8
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-message-actions-desktop.js b/plugins/chat/assets/javascripts/discourse/components/chat-message-actions-desktop.jsindex 5a7e3e1434d..5755ba41ffe 100644--- a/plugins/chat/assets/javascripts/discourse/components/chat-message-actions-desktop.js+++ b/plugins/chat/assets/javascripts/discourse/components/chat-message-actions-desktop.js@@ -5,7 +5,7 @@ import { schedule } from "@ember/runloop";import { inject as service } from "@ember/service";const MSG_ACTIONS_HORIZONTAL_PADDING = 2;-const MSG_ACTIONS_VERTICAL_PADDING = -15;+const MSG_ACTIONS_VERTICAL_PADDING = -28;export default Component.extend({tagName: "",diff --git a/plugins/chat/assets/javascripts/discourse/templates/components/chat-message-actions-desktop.hbs b/plugins/chat/assets/javascripts/discourse/templates/components/chat-message-actions-desktop.hbsindex 1380f497db7..093f2f003cd 100644--- a/plugins/chat/assets/javascripts/discourse/templates/components/chat-message-actions-desktop.hbs+++ b/plugins/chat/assets/javascripts/discourse/templates/components/chat-message-actions-desktop.hbs@@ -21,7 +21,7 @@{{/if}}{{#if this.secondaryButtons.length}}- <DropdownSelectBox @class="more-buttons" @options={{hash icon="ellipsis-v" placement="bottom-end"}} @content={{this.secondaryButtons}} @onChange={{action "handleSecondaryButtons"}} />+ <DropdownSelectBox @class="more-buttons" @options={{hash icon="ellipsis-v" placement="left"}} @content={{this.secondaryButtons}} @onChange={{action "handleSecondaryButtons"}} />{{/if}}</div></div>