mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 20:27:12 +00:00
style: adjust nav bar badge breakpoints
This commit is contained in:
@@ -327,7 +327,7 @@ export const Navbar = () => {
|
|||||||
<OrgIcon className={twMerge("size-[14px] shrink-0 text-org")} />
|
<OrgIcon className={twMerge("size-[14px] shrink-0 text-org")} />
|
||||||
<span className="truncate">{currentOrg?.name}</span>
|
<span className="truncate">{currentOrg?.name}</span>
|
||||||
</button>
|
</button>
|
||||||
<Badge variant="org" className="hidden md:inline-flex">
|
<Badge variant="org" className="hidden lg:inline-flex">
|
||||||
Organization
|
Organization
|
||||||
</Badge>
|
</Badge>
|
||||||
{subscription.cardDeclined && (
|
{subscription.cardDeclined && (
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ export const ProjectSelect = () => {
|
|||||||
>
|
>
|
||||||
<ProjectIcon className="size-[14px] shrink-0 text-project" />
|
<ProjectIcon className="size-[14px] shrink-0 text-project" />
|
||||||
<span className="truncate">{currentWorkspace?.name}</span>
|
<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"}
|
{currentWorkspace.type ? PROJECT_TYPE_NAME[currentWorkspace.type] : "Project"}
|
||||||
</Badge>
|
</Badge>
|
||||||
</Link>
|
</Link>
|
||||||
|
|||||||
Reference in New Issue
Block a user