Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

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

Prateek Shourya83c8338c6469
diff --git a/web/components/project/sidebar-list-item.tsx b/web/components/project/sidebar-list-item.tsx
index 1d8a7a20cc..052460c538 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<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",
{
"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
- 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,
})}
>