Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

style: adjust nav bar badge breakpoints

Scott Wilsonf9fffad9aee9
diff --git a/frontend/src/layouts/OrganizationLayout/components/NavBar/Navbar.tsx b/frontend/src/layouts/OrganizationLayout/components/NavBar/Navbar.tsx
index e28111efcb..e55bdfc094 100644
--- a/frontend/src/layouts/OrganizationLayout/components/NavBar/Navbar.tsx
+++ b/frontend/src/layouts/OrganizationLayout/components/NavBar/Navbar.tsx
@@ -327,7 +327,7 @@ export const Navbar = () => {
<OrgIcon className={twMerge("size-[14px] shrink-0 text-org")} />
<span className="truncate">{currentOrg?.name}</span>
</button>
- <Badge variant="org" className="hidden md:inline-flex">
+ <Badge variant="org" className="hidden lg:inline-flex">
Organization
</Badge>
{subscription.cardDeclined && (
diff --git a/frontend/src/layouts/ProjectLayout/components/ProjectSelect/ProjectSelect.tsx b/frontend/src/layouts/ProjectLayout/components/ProjectSelect/ProjectSelect.tsx
index 6096102644..45325d22d5 100644
--- a/frontend/src/layouts/ProjectLayout/components/ProjectSelect/ProjectSelect.tsx
+++ b/frontend/src/layouts/ProjectLayout/components/ProjectSelect/ProjectSelect.tsx
@@ -108,7 +108,7 @@ export const ProjectSelect = () => {
>
<ProjectIcon className="size-[14px] shrink-0 text-project" />
<span className="truncate">{currentWorkspace?.name}</span>
- <Badge variant="project" className="hidden md:inline-flex">
+ <Badge variant="project" className="hidden lg:inline-flex">
{currentWorkspace.type ? PROJECT_TYPE_NAME[currentWorkspace.type] : "Project"}
</Badge>
</Link>