summaryrefslogtreecommitdiff
path: root/modules/notifications/Notification.qml
diff options
context:
space:
mode:
authorSoramane <61896496+soramanew@users.noreply.github.com>2025-07-16 17:51:19 +1000
committerSoramane <61896496+soramanew@users.noreply.github.com>2025-07-16 17:51:19 +1000
commitb8cb60b5968ff10036255e9de6ae80cc7f5bb4e4 (patch)
tree327f684b1940d278fa82f28856806910ee7c9fa8 /modules/notifications/Notification.qml
parentnotifs: pause expire on press (diff)
downloadcaelestia-shell-b8cb60b5968ff10036255e9de6ae80cc7f5bb4e4.tar.gz
caelestia-shell-b8cb60b5968ff10036255e9de6ae80cc7f5bb4e4.tar.bz2
caelestia-shell-b8cb60b5968ff10036255e9de6ae80cc7f5bb4e4.zip
notifs: remove body if empty
Diffstat (limited to 'modules/notifications/Notification.qml')
-rw-r--r--modules/notifications/Notification.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/notifications/Notification.qml b/modules/notifications/Notification.qml
index ef098da..bde947c 100644
--- a/modules/notifications/Notification.qml
+++ b/modules/notifications/Notification.qml
@@ -391,6 +391,7 @@ StyledRect {
color: Colours.palette.m3onSurfaceVariant
font.pointSize: Appearance.font.size.small
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
+ height: text ? implicitHeight : 0
onLinkActivated: link => {
if (!root.expanded)