From 6b818895263cc9d479f7fa61041fd1abbad2724c Mon Sep 17 00:00:00 2001 From: Nimish Date: Mon, 28 Oct 2024 13:40:53 +0530 Subject: [PATCH] feat: truncate text in navbar --- frontend/components/layout/Navbar.tsx | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/frontend/components/layout/Navbar.tsx b/frontend/components/layout/Navbar.tsx index 0b7ec1b4..6b210e42 100644 --- a/frontend/components/layout/Navbar.tsx +++ b/frontend/components/layout/Navbar.tsx @@ -48,31 +48,31 @@ export const NavBar = (props: { team: string }) => { return (
-
- +
+ - / + / - {!activeApp && {props.team}} + {!activeApp && ({props.team})} - {activeApp && {props.team}} + {activeApp && ({props.team})} - {activeApp && /} + {activeApp && /} {activeApp && (appPage ? ( - {activeApp.name} + {activeApp.name} ) : ( - {activeApp.name} + {activeApp.name} ))} - {appPage && /} + {appPage && /} {appPage && ( @@ -80,9 +80,9 @@ export const NavBar = (props: { team: string }) => { )} - {activeEnv && /} + {activeEnv && /} - {activeEnv && {activeEnv.name}} + {activeEnv && ({activeEnv.name})}