summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/notifications/Content.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/notifications/Content.qml b/modules/notifications/Content.qml
index 701e245..84df4c3 100644
--- a/modules/notifications/Content.qml
+++ b/modules/notifications/Content.qml
@@ -28,13 +28,13 @@ Item {
if (visibilities && panel) {
if (visibilities.osd) {
- const h = panel.osd.y - Config.border.rounding * 2;
+ const h = panel.osd.y - Config.border.rounding * 2 - padding * 2;
if (height > h)
height = h;
}
if (visibilities.session) {
- const h = panel.session.y - Config.border.rounding * 2;
+ const h = panel.session.y - Config.border.rounding * 2 - padding * 2;
if (height > h)
height = h;
}