mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 22:36:24 +00:00
fix(Chat): ensure transaction bubbles are render on the correct side
Fixes #1198
This commit is contained in:
parent
d76667f345
commit
ebda8b19a9
@ -95,7 +95,8 @@ Item {
|
|||||||
|
|
||||||
id: root
|
id: root
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.leftMargin: appSettings.compactMode ? Style.current.padding : 48
|
anchors.leftMargin: isCurrentUser ? 0 :
|
||||||
|
appSettings.compactMode ? Style.current.padding : 48;
|
||||||
width: rectangleBubble.width
|
width: rectangleBubble.width
|
||||||
height: rectangleBubble.height
|
height: rectangleBubble.height
|
||||||
|
|
||||||
@ -109,6 +110,11 @@ Item {
|
|||||||
border.color: Style.current.border
|
border.color: Style.current.border
|
||||||
border.width: 1
|
border.width: 1
|
||||||
|
|
||||||
|
anchors.right: isCurrentUser ? parent.right : undefined
|
||||||
|
anchors.rightMargin: Style.current.padding
|
||||||
|
anchors.left: !isCurrentUser ? parent.left : undefined
|
||||||
|
anchors.leftMargin: Style.current.padding
|
||||||
|
|
||||||
StyledText {
|
StyledText {
|
||||||
id: title
|
id: title
|
||||||
color: Style.current.secondaryText
|
color: Style.current.secondaryText
|
||||||
|
Loading…
x
Reference in New Issue
Block a user