Skip to content
Snippets Groups Projects
Verified Commit 9a87a0e0 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Fix red outline alignment in default style

parent 818bc004
No related branches found
No related tags found
No related merge requests found
Pipeline #5427 waiting for manual action
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment