fix delete icon for short message
This commit is contained in:
parent
19d3605e11
commit
5e2bc2b2d7
1 changed files with 1 additions and 1 deletions
|
|
@ -598,7 +598,7 @@ export default {
|
||||||
var rectChat = this.$refs.messageOperationsStrut.getBoundingClientRect();
|
var rectChat = this.$refs.messageOperationsStrut.getBoundingClientRect();
|
||||||
var rectOps = this.$refs.messageOperations.$el.getBoundingClientRect();
|
var rectOps = this.$refs.messageOperations.$el.getBoundingClientRect();
|
||||||
top = rectAnchor.top - rectChat.top - 50;
|
top = rectAnchor.top - rectChat.top - 50;
|
||||||
left = rectAnchor.left - rectChat.left - 50;
|
left = rectAnchor.left - rectChat.left - 75;
|
||||||
if (left + rectOps.width >= rectChat.right) {
|
if (left + rectOps.width >= rectChat.right) {
|
||||||
left = rectChat.right - rectOps.width - 10; // No overflow
|
left = rectChat.right - rectOps.width - 10; // No overflow
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue