Merge pull request #36603 from sokumon/desktop-ui-issues

This commit is contained in:
Soham Kulkarni 2026-02-02 23:57:21 +05:30 committed by GitHub
commit 93dced0d87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 10 deletions

View file

@ -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": [],

View file

@ -141,14 +141,12 @@
text-wrap: nowrap;
display: flex;
justify-content: space-between;
width: 95px;
height: 35px;
flex-direction: column;
}
.icon-title{
font-weight: var(--weight-semibold);
font-size: var(--text-md);
max-width: 95px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
@ -183,7 +181,6 @@
& .modal-content {
top: 120px;
border-radius: var(--desktop-modal-radius);
align-items: center;
}
}
}
@ -197,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);
}
@ -279,8 +273,8 @@
height: 5px;
}
& img{
width: var(--folder-thumbnail-icon-height);
height: var(--folder-thumbnail-icon-height);
width: 9px;
height: 9px;
}
}