From 83c8338c6469e055af4194a4a1fa1bb26d5fc6c0 Mon Sep 17 00:00:00 2001 From: Prateek Shourya Date: Tue, 28 May 2024 20:53:19 +0530 Subject: [PATCH] [WEB-1476] style: fix padding on project icon in workspace sidebar. (#4631) --- web/components/project/sidebar-list-item.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/components/project/sidebar-list-item.tsx b/web/components/project/sidebar-list-item.tsx index 1d8a7a20c..052460c53 100644 --- a/web/components/project/sidebar-list-item.tsx +++ b/web/components/project/sidebar-list-item.tsx @@ -287,7 +287,7 @@ export const ProjectSidebarListItem: React.FC = observer((props) => { "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, - "pl-8": disableDrag, + "pl-7": disableDrag && !isCollapsed, } )} > @@ -327,7 +327,7 @@ export const ProjectSidebarListItem: React.FC = observer((props) => { )} >