From fbb045436cb301e5bfbcaa6d7d5937e237f4d6c0 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Tue, 31 Jan 2023 19:51:33 +0530 Subject: [PATCH] fix: text ellipsis fix (#217) Co-authored-by: Anmol Singh Bhatia --- apps/app/components/project/card.tsx | 2 +- apps/app/components/project/sidebar-list.tsx | 4 +++- apps/app/components/sidebar/projects-list.tsx | 6 ++++-- apps/app/pages/[workspaceSlug]/index.tsx | 4 +++- apps/app/pages/onboarding/index.tsx | 2 +- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/apps/app/components/project/card.tsx b/apps/app/components/project/card.tsx index dd6d96e32..0ddaf1cd7 100644 --- a/apps/app/components/project/card.tsx +++ b/apps/app/components/project/card.tsx @@ -52,7 +52,7 @@ export const ProjectCard: React.FC = (props) => { {project.icon && ( {String.fromCodePoint(parseInt(project.icon))} )} - + {project.name} {project.identifier} diff --git a/apps/app/components/project/sidebar-list.tsx b/apps/app/components/project/sidebar-list.tsx index 17fbb84c8..e5ff937f4 100644 --- a/apps/app/components/project/sidebar-list.tsx +++ b/apps/app/components/project/sidebar-list.tsx @@ -99,7 +99,9 @@ export const ProjectSidebarList: FC = () => { {!sidebarCollapse && ( - {project?.name} + + {project?.name} + = ({ navigation, sidebarCollapse }) => { )} {!sidebarCollapse && ( - - {project?.name} + + + {project?.name} + { {project?.name.charAt(0)} )} -

{project.name}

+

+ {project.name} +

diff --git a/apps/app/pages/onboarding/index.tsx b/apps/app/pages/onboarding/index.tsx index 4702034ca..68d8f70f9 100644 --- a/apps/app/pages/onboarding/index.tsx +++ b/apps/app/pages/onboarding/index.tsx @@ -48,7 +48,7 @@ const Onboarding: NextPage = () => { )}
) : ( -
+
{step === 4 ? (