From b5194aa9e10e51be385986d97b2078b6504ffa8f Mon Sep 17 00:00:00 2001 From: bbedward Date: Wed, 21 Jan 2026 16:51:39 -0500 Subject: [PATCH] notifications: update dimensions and text expansion logic --- .../Modules/Notifications/Center/NotificationCard.qml | 8 ++++---- .../Modules/Notifications/Popup/NotificationPopup.qml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/quickshell/Modules/Notifications/Center/NotificationCard.qml b/quickshell/Modules/Notifications/Center/NotificationCard.qml index 3a1e4443..331b4565 100644 --- a/quickshell/Modules/Notifications/Center/NotificationCard.qml +++ b/quickshell/Modules/Notifications/Center/NotificationCard.qml @@ -558,8 +558,8 @@ Rectangle { visible: !expanded anchors.right: clearButton.visible ? clearButton.left : parent.right anchors.rightMargin: clearButton.visible ? contentSpacing : Theme.spacingL - anchors.bottom: parent.bottom - anchors.bottomMargin: contentSpacing + anchors.top: collapsedContent.bottom + anchors.topMargin: contentSpacing spacing: contentSpacing Repeater { @@ -614,8 +614,8 @@ Rectangle { visible: !expanded && actionCount < 3 anchors.right: parent.right anchors.rightMargin: Theme.spacingL - anchors.bottom: parent.bottom - anchors.bottomMargin: contentSpacing + anchors.top: collapsedContent.bottom + anchors.topMargin: contentSpacing width: Math.max(clearText.implicitWidth + Theme.spacingM, compactMode ? 40 : 50) height: actionButtonHeight radius: Theme.spacingXS diff --git a/quickshell/Modules/Notifications/Popup/NotificationPopup.qml b/quickshell/Modules/Notifications/Popup/NotificationPopup.qml index f9ca7954..047b0a45 100644 --- a/quickshell/Modules/Notifications/Popup/NotificationPopup.qml +++ b/quickshell/Modules/Notifications/Popup/NotificationPopup.qml @@ -531,8 +531,8 @@ PanelWindow { Row { anchors.right: clearButton.visible ? clearButton.left : parent.right anchors.rightMargin: clearButton.visible ? contentSpacing : Theme.spacingL - anchors.bottom: parent.bottom - anchors.bottomMargin: contentSpacing + anchors.top: notificationContent.bottom + anchors.topMargin: contentSpacing spacing: contentSpacing z: 20 @@ -585,8 +585,8 @@ PanelWindow { visible: actionCount < 3 anchors.right: parent.right anchors.rightMargin: Theme.spacingL - anchors.bottom: parent.bottom - anchors.bottomMargin: contentSpacing + anchors.top: notificationContent.bottom + anchors.topMargin: contentSpacing width: Math.max(clearTextLabel.implicitWidth + Theme.spacingM, compactMode ? 40 : 50) height: actionButtonHeight radius: Theme.spacingXS