From 051b7576f7ed31bbfbc58620e2eadfee41dbbac3 Mon Sep 17 00:00:00 2001 From: purian23 Date: Sun, 15 Feb 2026 16:38:45 -0500 Subject: [PATCH] Height for realz --- quickshell/Modules/Notifications/Popup/NotificationPopup.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/quickshell/Modules/Notifications/Popup/NotificationPopup.qml b/quickshell/Modules/Notifications/Popup/NotificationPopup.qml index f14e9cb0..c7812b94 100644 --- a/quickshell/Modules/Notifications/Popup/NotificationPopup.qml +++ b/quickshell/Modules/Notifications/Popup/NotificationPopup.qml @@ -41,7 +41,6 @@ PanelWindow { readonly property real popupIconSize: compactMode ? Theme.notificationIconSizeCompact : Theme.notificationIconSizeNormal readonly property real contentSpacing: compactMode ? Theme.spacingXS : Theme.spacingS readonly property real contentBottomClearance: 5 - readonly property real actionRowOffset: 5 readonly property real actionButtonHeight: compactMode ? 20 : 24 readonly property real collapsedContentHeight: Math.max(popupIconSize, Theme.fontSizeSmall * 1.2 + Theme.fontSizeMedium * 1.2 + Theme.fontSizeSmall * 1.2 * (compactMode ? 1 : 2)) + contentBottomClearance readonly property real privacyCollapsedContentHeight: Math.max(popupIconSize, Theme.fontSizeSmall * 1.2 + Theme.fontSizeMedium * 1.2) + contentBottomClearance @@ -635,7 +634,7 @@ PanelWindow { anchors.right: clearButton.visible ? clearButton.left : parent.right anchors.rightMargin: clearButton.visible ? contentSpacing : Theme.spacingL anchors.top: notificationContent.bottom - anchors.topMargin: contentSpacing + actionRowOffset + anchors.topMargin: contentSpacing spacing: contentSpacing z: 20 @@ -703,7 +702,7 @@ PanelWindow { anchors.right: parent.right anchors.rightMargin: Theme.spacingL anchors.top: notificationContent.bottom - anchors.topMargin: contentSpacing + actionRowOffset + anchors.topMargin: contentSpacing width: Math.max(clearTextLabel.implicitWidth + Theme.spacingM, Theme.notificationActionMinWidth) height: actionButtonHeight radius: Theme.notificationButtonCornerRadius