From 44ecd8b677f4d982b6af183ee316177f44d9d28b Mon Sep 17 00:00:00 2001 From: Kaushal Shriwas <64089478+kaulith@users.noreply.github.com> Date: Thu, 16 Apr 2026 18:44:49 +0530 Subject: [PATCH] fix(ui): properly align notification indicator on sidebar badge --- frappe/public/scss/desk/notification.scss | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/frappe/public/scss/desk/notification.scss b/frappe/public/scss/desk/notification.scss index cc2bb95409..40e6faad82 100644 --- a/frappe/public/scss/desk/notification.scss +++ b/frappe/public/scss/desk/notification.scss @@ -50,8 +50,6 @@ &::before { position: absolute; - top: 0; - right: 0; left: auto; height: 6px; width: 6px; @@ -60,7 +58,19 @@ } } -.sidebar-notification .item-anchor { +.desktop-notification-icon.indicator::before { + top: 0; + right: 0; +} + +.sidebar-notification .sidebar-item-icon.indicator::before { + top: 3px; + right: 5px; + height: 5px; + width: 5px; +} + +.sidebar-notification .standard-sidebar-item .item-anchor { overflow: visible; }