From b039e9d67d9d43128b4cadd2fd130def48c56a16 Mon Sep 17 00:00:00 2001 From: Noelia Date: Mon, 13 Jun 2022 13:14:53 +0200 Subject: [PATCH] fix(Chat): The text and emoji are not vertically aligned in the chat message Added top margin in message text. Fixes #5953 --- ui/imports/shared/views/chat/CompactMessageView.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/imports/shared/views/chat/CompactMessageView.qml b/ui/imports/shared/views/chat/CompactMessageView.qml index a1b289efb6..386411c883 100644 --- a/ui/imports/shared/views/chat/CompactMessageView.qml +++ b/ui/imports/shared/views/chat/CompactMessageView.qml @@ -509,6 +509,7 @@ Item { anchors.leftMargin: chatImage.imageWidth + Style.current.padding + root.chatHorizontalPadding anchors.right: parent.right anchors.rightMargin: root.chatHorizontalPadding + anchors.topMargin: (!chatName.visible || !chatReply.active || !pinnedRectangleLoader.active) ? Style.current.halfPadding : 0 visible: !editModeOn ChatTextView { id: chatText