From 584192faba6297bc006573c5c47038543230ab20 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Wed, 2 Aug 2023 14:21:26 +0530 Subject: [PATCH] style: sidebar project list improvement (#1767) --- apps/app/components/project/sidebar-list.tsx | 2 +- .../project/single-sidebar-project.tsx | 18 +++++++----------- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/apps/app/components/project/sidebar-list.tsx b/apps/app/components/project/sidebar-list.tsx index 5790e7c0b..1bb3711fc 100644 --- a/apps/app/components/project/sidebar-list.tsx +++ b/apps/app/components/project/sidebar-list.tsx @@ -130,7 +130,7 @@ export const ProjectSidebarList: FC = () => { data={projectToDelete} user={user} /> -
+
{(provided) => ( diff --git a/apps/app/components/project/single-sidebar-project.tsx b/apps/app/components/project/single-sidebar-project.tsx index ef1b6771e..8545739f7 100644 --- a/apps/app/components/project/single-sidebar-project.tsx +++ b/apps/app/components/project/single-sidebar-project.tsx @@ -170,17 +170,17 @@ export const SingleSidebarProject: React.FC = ({ > -
+
{project.emoji ? ( {renderEmoji(project.emoji)} ) : project.icon_prop ? ( -
+
{renderEmoji(project.icon_prop)}
) : ( @@ -190,19 +190,15 @@ export const SingleSidebarProject: React.FC = ({ )} {!sidebarCollapse && ( -

- {truncateText(project.name, 15)} +

+ {project.name}

)}
{!sidebarCollapse && ( @@ -211,7 +207,7 @@ export const SingleSidebarProject: React.FC = ({ {!sidebarCollapse && ( - + {!shortContextMenu && (