Merge pull request #38896 from iamejaaz/small-ui-ux-fix
fix(sidebar): notification panel and icon hover state
This commit is contained in:
commit
5b4ddb2236
2 changed files with 3 additions and 7 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
@ -364,6 +359,7 @@
|
|||
}
|
||||
.sidebar-item-suffix {
|
||||
margin-left: auto;
|
||||
padding: 7px;
|
||||
.keyboard-shortcut {
|
||||
color: var(--ink-gray-4, #999999);
|
||||
font-size: var(--text-sm);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue