From c6f3fa59f0bd88dae4fa22427f3618887f11bd71 Mon Sep 17 00:00:00 2001 From: Scott Wilson Date: Fri, 14 Nov 2025 14:48:39 -0800 Subject: [PATCH] style: make navbar more responsive to allow navigation on smaller devices --- .../OrganizationLayout/components/NavBar/Navbar.tsx | 12 ++++++------ .../components/ProjectSelect/ProjectSelect.tsx | 4 +++- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/frontend/src/layouts/OrganizationLayout/components/NavBar/Navbar.tsx b/frontend/src/layouts/OrganizationLayout/components/NavBar/Navbar.tsx index 3fb909c9b..4025ecc17 100644 --- a/frontend/src/layouts/OrganizationLayout/components/NavBar/Navbar.tsx +++ b/frontend/src/layouts/OrganizationLayout/components/NavBar/Navbar.tsx @@ -294,7 +294,7 @@ export const Navbar = () => { ) : ( <> -
+
{ {currentOrg?.name} -
+
{getPlan(subscription)}
{subscription.cardDeclined && ( @@ -468,7 +468,7 @@ export const Navbar = () => { className={twMerge( "gap-x-1.5 text-sm", !isOrgScope && - "bg-transparent text-mineshaft-200 hover:!bg-transparent hover:underline [&>svg]:!text-sub-org" + "min-w-6 bg-transparent text-mineshaft-200 hover:!bg-transparent hover:underline [&>svg]:!text-sub-org" )} > @@ -569,11 +569,11 @@ export const Navbar = () => { )} {user.superAdmin && !location.pathname.startsWith("/admin") && ( - - Server Console + + Server Console )} diff --git a/frontend/src/layouts/ProjectLayout/components/ProjectSelect/ProjectSelect.tsx b/frontend/src/layouts/ProjectLayout/components/ProjectSelect/ProjectSelect.tsx index dcb50b5d2..08fdceb58 100644 --- a/frontend/src/layouts/ProjectLayout/components/ProjectSelect/ProjectSelect.tsx +++ b/frontend/src/layouts/ProjectLayout/components/ProjectSelect/ProjectSelect.tsx @@ -106,7 +106,9 @@ export const ProjectSelect = () => {

- {currentWorkspace.type ? PROJECT_TYPE_NAME[currentWorkspace.type] : "Project"} + + {currentWorkspace.type ? PROJECT_TYPE_NAME[currentWorkspace.type] : "Project"} +