notifcenter: indent notifications under group header with vertical connector line

This commit is contained in:
Damocles 2026-04-17 10:45:46 +02:00
parent 7f0df9eb47
commit 23c70619d8

View file

@ -410,10 +410,24 @@ M.HoverPanel {
} }
// ---- Individual notification ---- // ---- Individual notification ----
// Vertical connector line visually ties notifs to their group header
Rectangle {
visible: notifDelegate._type === "notif"
anchors.left: parent.left
anchors.leftMargin: 3
anchors.top: parent.top
anchors.bottom: parent.bottom
width: 2
color: M.Theme.base02
radius: 1
}
M.NotifCard { M.NotifCard {
id: _notifCard id: _notifCard
visible: notifDelegate._type === "notif" visible: notifDelegate._type === "notif"
anchors.fill: parent anchors.fill: parent
anchors.leftMargin: 8
notif: notifDelegate._notif notif: notifDelegate._notif
showAppName: false showAppName: false
iconSize: 24 iconSize: 24