fix: notification panel issue on close sidebar

This commit is contained in:
Ejaaz Khan 2026-04-25 14:47:36 +05:30
parent 58667ec285
commit 02e764cd4c
2 changed files with 2 additions and 7 deletions

View file

@ -111,7 +111,7 @@ frappe.ui.sidebar_item.TypeLink = class SidebarItem {
if (frappe.utils.is_mac()) {
shortcut = shortcut.replace("Ctrl+", "⌘");
}
return `<span class="sidebar-item-suffix keyboard-shortcut">${shortcut}</span>`;
return `<span class="keyboard-shortcut">${shortcut}</span>`;
}
setup_editing_controls() {
this.menu_items = this.get_menu_items();

View file

@ -159,7 +159,7 @@
.standard-items-sections {
.dropdown-notifications {
.notifications-list {
left: 3.4%;
left: 100%;
}
}
}
@ -170,11 +170,6 @@
// make it an overlay on hover
position: absolute;
width: var(--sidebar-width);
.dropdown-notifications {
.notifications-list {
left: 100%;
}
}
.collapse-sidebar-link {
text-decoration: none;