fix: centered app label , logo size fix in apps switcher menu

This commit is contained in:
sokumon 2024-12-31 18:31:46 +05:30
parent 41f220d092
commit 46f430c59a
2 changed files with 4 additions and 2 deletions

View file

@ -16,7 +16,7 @@ frappe.ui.AppsSwitcher = class AppsSwitcher {
this.app_switcher_menu.addClass("hidden");
// hide any expanded menus as they leave a blank space in the sidebar
// this.sidebar_wrapper.find(".drop-icon[data-state='opened'").click();
this.sidebar_wrapper.find(".drop-icon[data-state='opened'").click();
});
}
create_app_data_map() {

View file

@ -252,6 +252,7 @@ body {
}
.sidebar-item-label {
display: flex;
align-items: center;
}
.sidebar-item-control {
display: block;
@ -364,9 +365,10 @@ body {
align-items: center;
gap: var(--margin-sm);
.sidebar-item-icon {
line-height: 0px;
.app-logo {
width: 16px;
width: 16px;
height: 16px;
}
}
}