diff --git a/shell/plugins/notifications/Service.qml b/shell/plugins/notifications/Service.qml index e7c22687..091428f9 100644 --- a/shell/plugins/notifications/Service.qml +++ b/shell/plugins/notifications/Service.qml @@ -802,10 +802,10 @@ Item { right: service.barPosition !== "left" } margins { - top: service.barPosition === "top" ? service.barClearance : Style.gapsOut - bottom: service.barPosition === "bottom" ? service.barClearance : Style.gapsOut - left: service.barPosition === "left" ? service.barClearance : Style.gapsOut - right: service.barPosition === "right" ? service.barClearance : Style.gapsOut + top: service.barPosition === "top" ? service.liveBarSize + Math.round(Style.gapsOut / 2) : Math.round(Style.gapsOut / 2) + bottom: service.barPosition === "bottom" ? service.barClearance : Style.gapsOut + left: service.barPosition === "left" ? service.barClearance : Style.gapsOut + right: service.barPosition === "right" ? service.barClearance : Math.round(Style.gapsOut / 2) } implicitWidth: popupColumn.implicitWidth