Skip to content

A platform for community discussion. Free, open, simple.

FIX: adds negative skidding to popper offset (#19958)

Joffrey JAFFEUXad70a72de92a
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.js
index 6ceb7ae07d0..d88a31d8148 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
@@ -33,7 +33,7 @@ export default Component.extend({
{ name: "eventListeners", options: { scroll: false } },
{
name: "offset",
- options: { offset: [0, MSG_ACTIONS_VERTICAL_PADDING] },
+ options: { offset: [-2, MSG_ACTIONS_VERTICAL_PADDING] },
},
],
}