fix(@desktop/chat): Messages do have wrong indentation (alignment) when being sent in a row

Providing temp fix as this compoentn  will be redesigned and moved to StatusQ

fixes #4211
This commit is contained in:
Khushboo Mehta 2021-12-10 12:44:43 +01:00 committed by Khushboo-dev-cpp
parent 35233a01e7
commit a7753e27a7
1 changed files with 3 additions and 2 deletions

View File

@ -427,8 +427,9 @@ Item {
anchors.top: chatName.visible ? chatName.bottom :
chatReply.active ? chatReply.bottom :
pinnedRectangleLoader.active ? pinnedRectangleLoader.bottom : parent.top
anchors.left: chatImage.right
anchors.leftMargin: root.chatHorizontalPadding
// This entire component needs to be reworked and moved to StatusQ, hence providing a hardcoded fix for #4211.
anchors.left: parent.left
anchors.leftMargin: chatImage.imageWidth + Style.current.padding + root.chatHorizontalPadding
anchors.right: parent.right
anchors.rightMargin: root.chatHorizontalPadding
visible: !isEdit