mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-21 18:50:47 +03:00
Fix red outline alignment in default style
This commit is contained in:
parent
818bc00429
commit
9a87a0e0c6
1 changed files with 3 additions and 2 deletions
|
@ -130,13 +130,13 @@ TimelineEvent {
|
|||
anchors.top: gridContainer.top
|
||||
anchors.left: gridContainer.left
|
||||
anchors.topMargin: -2
|
||||
anchors.leftMargin: -2
|
||||
anchors.leftMargin: -2 + (stateEventSpacing.visible ? (stateEventSpacing.width + gridContainer.spacing) : 0)
|
||||
color: "transparent"
|
||||
border.color: Nheko.theme.red
|
||||
border.width: wrapper.notificationlevel == MtxEvent.Highlight ? 1 : 0
|
||||
radius: 4
|
||||
height: contentColumn.implicitHeight + 4
|
||||
width: contentColumn.implicitWidth + 4
|
||||
width: contentColumn.implicitWidth + 4 + (wrapper.threadId ? (4 + gridContainer.spacing) : 0)
|
||||
},
|
||||
Row {
|
||||
id: gridContainer
|
||||
|
@ -181,6 +181,7 @@ TimelineEvent {
|
|||
}
|
||||
|
||||
Item {
|
||||
id: stateEventSpacing
|
||||
visible: wrapper.isStateEvent
|
||||
width: (wrapper.maxWidth - (wrapper.main?.width ?? 0)) / 2
|
||||
height: 1
|
||||
|
|
Loading…
Reference in a new issue