mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-22 20:40:18 +00:00
fix(chat): Re-position “retry” link
Fixes #3606. The “retry” link for failed messages was not aligned correctly in the light theme. This was due to setting the `verticalCenter` as well as `anchors.top` in some situations. `verticalCenter` has been removed in favour of setting the top and bottom anchors.
This commit is contained in:
parent
98bebb8c51
commit
361c902f37
@ -470,9 +470,9 @@ Item {
|
||||
id: retry
|
||||
anchors.left: chatTime.visible ? chatTime.right : messageContent.left
|
||||
anchors.leftMargin: chatTime.visible ? chatHorizontalPadding : 0
|
||||
anchors.top: chatTime.visible ? undefined : messageContent.bottom
|
||||
anchors.top: chatTime.visible ? chatTime.top : messageContent.bottom
|
||||
anchors.topMargin: chatTime.visible ? 0 : -4
|
||||
anchors.verticalCenter: chatTime.visible ? chatTime.verticalCenter : undefined
|
||||
anchors.bottom: chatTime.visible ? chatTime.bottom : undefined
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user