diff --git a/src/assets/css/chat.scss b/src/assets/css/chat.scss index 7a6bca8..5ea2af3 100644 --- a/src/assets/css/chat.scss +++ b/src/assets/css/chat.scss @@ -350,9 +350,9 @@ body { display: inline-block; vertical-align: top !important; .v-icon { - color: #eeeeee; + color: #595959; &:hover { - color: #888888; + color: #000000; } } } @@ -754,6 +754,7 @@ body { height: 34px; border-radius: 22px; box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.15); + white-space: nowrap; } .avatar-operations { diff --git a/src/components/Chat.vue b/src/components/Chat.vue index e212cab..bc7d028 100644 --- a/src/components/Chat.vue +++ b/src/components/Chat.vue @@ -70,15 +70,22 @@ touchStart(e, event); } " v-on:touchend="touchEnd" v-on:touchcancel="touchCancel" v-on:touchmove="touchMove"> + @@ -862,8 +869,10 @@ export default { var rectOps = this.$refs.messageOperations.$el.getBoundingClientRect(); top = rectAnchor.top - rectChat.top - 50; left = rectAnchor.left - rectChat.left - 75; - if (left + rectOps.width >= rectChat.right) { + if (left + rectOps.width + 10 >= rectChat.right) { left = rectChat.right - rectOps.width - 10; // No overflow + } else if (left < 0) { + left = 0; } } }