[WEB-1476] style: fix padding on project icon in workspace sidebar. (#4631)

This commit is contained in:
Prateek Shourya 2024-05-28 20:53:19 +05:30 committed by GitHub
parent 26ba4a409b
commit 83c8338c64
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -287,7 +287,7 @@ export const ProjectSidebarListItem: React.FC<Props> = observer((props) => {
"group relative flex w-full items-center rounded-md py-1 text-custom-sidebar-text-100 hover:bg-custom-sidebar-background-80", "group relative flex w-full items-center rounded-md py-1 text-custom-sidebar-text-100 hover:bg-custom-sidebar-background-80",
{ {
"bg-custom-sidebar-background-80": isMenuActive, "bg-custom-sidebar-background-80": isMenuActive,
"pl-8": disableDrag, "pl-7": disableDrag && !isCollapsed,
} }
)} )}
> >
@ -327,7 +327,7 @@ export const ProjectSidebarListItem: React.FC<Props> = observer((props) => {
)} )}
> >
<div <div
className={cn("flex w-full flex-grow items-center gap-1 truncate -ml-1", { className={cn("flex w-full flex-grow items-center gap-1 truncate", {
"justify-center": isCollapsed, "justify-center": isCollapsed,
})} })}
> >