fixed notifications popup menu reserving too much space for the next card

This commit is contained in:
SomeElse
2026-04-27 08:08:26 +00:00
parent 39e4940474
commit d817449e6b

View File

@@ -276,7 +276,7 @@ Rectangle {
Rectangle {
id: historyCard
width: parent.width
height: Math.min(histHeader.implicitHeight + 56 + (notifHistory.count > 0 ? notifHistory.count * 76 : 90), 520)
height: Math.min(histHeader.implicitHeight + 56 + (notifHistory.count > 0 ? histCol.implicitHeight : 90), 520)
anchors.top: root.isTop ? parent.top : undefined
anchors.bottom: root.isTop ? undefined : parent.bottom