fix(CompactMessage): fix reactions overlapping with the test

This commit is contained in:
Jonathan Rainville 2021-04-28 13:58:40 -04:00 committed by Iuri Matias
parent 089ee7ee80
commit e77012919b
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ Item {
anchors.topMargin: dateGroupLbl.visible ? Style.current.padding : 0 anchors.topMargin: dateGroupLbl.visible ? Style.current.padding : 0
height: childrenRect.height height: childrenRect.height
+ (chatName.visible || emojiReactionLoader.active ? Style.current.smallPadding : 0) + (chatName.visible || emojiReactionLoader.active ? Style.current.smallPadding : 0)
+ (chatName.visible && emojiReactionLoader.active ? 5 : 0) + (chatName.visible && emojiReactionLoader.active ? Style.current.padding : 0)
+ (emojiReactionLoader.active ? emojiReactionLoader.height: 0) + (emojiReactionLoader.active ? emojiReactionLoader.height: 0)
+ (retry.visible && !chatTime.visible ? Style.current.smallPadding : 0) + (retry.visible && !chatTime.visible ? Style.current.smallPadding : 0)
width: parent.width width: parent.width