Merge branch '417-fix-delete-icon-for-short-message' into 'dev'

fix delete icon for short message

For issue #417

See merge request keanuapp/keanuapp-weblite!171
This commit is contained in:
N Pex 2023-04-10 09:08:05 +00:00
commit 9160ebb29a

View file

@ -598,7 +598,7 @@ export default {
var rectChat = this.$refs.messageOperationsStrut.getBoundingClientRect();
var rectOps = this.$refs.messageOperations.$el.getBoundingClientRect();
top = rectAnchor.top - rectChat.top - 50;
left = rectAnchor.left - rectChat.left - 50;
left = rectAnchor.left - rectChat.left - 75;
if (left + rectOps.width >= rectChat.right) {
left = rectChat.right - rectOps.width - 10; // No overflow
}