From 3369354904925af662a6df7b637d2a818b960240 Mon Sep 17 00:00:00 2001 From: Scott Wilson Date: Tue, 15 Jul 2025 08:54:07 -0700 Subject: [PATCH] improvement: prevent organization name wrap in header --- frontend/src/components/v2/Breadcrumb/Breadcrumb.tsx | 2 +- .../layouts/OrganizationLayout/components/NavBar/Navbar.tsx | 4 ++-- .../ProjectLayout/components/ProjectSelect/ProjectSelect.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/v2/Breadcrumb/Breadcrumb.tsx b/frontend/src/components/v2/Breadcrumb/Breadcrumb.tsx index 6a8ec2abe..00e191d64 100644 --- a/frontend/src/components/v2/Breadcrumb/Breadcrumb.tsx +++ b/frontend/src/components/v2/Breadcrumb/Breadcrumb.tsx @@ -121,7 +121,7 @@ export type TBreadcrumbFormat = }; const BreadcrumbContainer = ({ breadcrumbs }: { breadcrumbs: TBreadcrumbFormat[] }) => ( -
+
{(breadcrumbs as TBreadcrumbFormat[]).map((el, index) => { diff --git a/frontend/src/layouts/OrganizationLayout/components/NavBar/Navbar.tsx b/frontend/src/layouts/OrganizationLayout/components/NavBar/Navbar.tsx index bc9adde02..a46578726 100644 --- a/frontend/src/layouts/OrganizationLayout/components/NavBar/Navbar.tsx +++ b/frontend/src/layouts/OrganizationLayout/components/NavBar/Navbar.tsx @@ -180,7 +180,7 @@ export const Navbar = () => { } return ( -
+
infisical logo @@ -194,7 +194,7 @@ export const Navbar = () => {
-
{currentOrg?.name}
+
{currentOrg?.name}
{getPlan(subscription)}
diff --git a/frontend/src/layouts/ProjectLayout/components/ProjectSelect/ProjectSelect.tsx b/frontend/src/layouts/ProjectLayout/components/ProjectSelect/ProjectSelect.tsx index 678368929..80fcee1dc 100644 --- a/frontend/src/layouts/ProjectLayout/components/ProjectSelect/ProjectSelect.tsx +++ b/frontend/src/layouts/ProjectLayout/components/ProjectSelect/ProjectSelect.tsx @@ -114,7 +114,7 @@ export const ProjectSelect = () => {
-
+
{currentWorkspace?.name}