fix: various fixes for desktop
This commit is contained in:
parent
6ecb8f8a58
commit
e493086962
2 changed files with 8 additions and 9 deletions
|
|
@ -549,7 +549,11 @@ def get_sidebar_items(allowed_workspaces):
|
|||
else:
|
||||
sidebar_title = s.title
|
||||
w = s
|
||||
if w.module in w.user.permitted_modules or sidebar_title == "My Workspaces":
|
||||
if (
|
||||
frappe.session.user == "Administrator"
|
||||
or w.module in w.user.permitted_modules
|
||||
or sidebar_title == "My Workspaces"
|
||||
):
|
||||
sidebar_items[sidebar_title.lower()] = {
|
||||
"label": sidebar_title,
|
||||
"items": [],
|
||||
|
|
|
|||
|
|
@ -141,7 +141,6 @@
|
|||
text-wrap: nowrap;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
width: 120px;
|
||||
height: 35px;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
|
@ -182,7 +181,6 @@
|
|||
& .modal-content {
|
||||
top: 120px;
|
||||
border-radius: var(--desktop-modal-radius);
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -196,13 +194,10 @@
|
|||
width: var(--desktop-modal-width);
|
||||
height: var(--desktop-modal-height);
|
||||
padding: 24px 23px !important;
|
||||
width: fit-content;
|
||||
& .icons{
|
||||
gap: 0px 0px;
|
||||
}
|
||||
& .icons:has(.desktop-edit-mode){
|
||||
margin-top: 4px;
|
||||
gap: 6px 6px;
|
||||
}
|
||||
.icon-container{
|
||||
min-height: var(--desktop-icon-dimension);
|
||||
}
|
||||
|
|
@ -278,8 +273,8 @@
|
|||
height: 5px;
|
||||
}
|
||||
& img{
|
||||
width: var(--folder-thumbnail-icon-height);
|
||||
height: var(--folder-thumbnail-icon-height);
|
||||
width: 9px;
|
||||
height: 9px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue