fix delete icon for short message

This commit is contained in:
10G Meow 2023-04-10 10:05:46 +03:00
parent 19d3605e11
commit 5e2bc2b2d7

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
}