Skip to content

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

fix(ui): truncate long environment table headers

andrewhuhhfb832c99f1ad
diff --git a/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx b/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx
index 5533cae542..bc2c98ac37 100644
--- a/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx
+++ b/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx
@@ -3007,7 +3007,7 @@ const OverviewPageContent = () => {
aria-label={`Open ${name} environment menu`}
className="flex h-full w-full min-w-[240px] cursor-pointer items-center justify-center gap-x-2 px-3 hover:bg-foreground/5 focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-none"
>
- <span className="whitespace-nowrap">{name}</span>
+ <span className="min-w-0 truncate">{name}</span>
<ChevronDownIcon className="size-3.5 shrink-0" />
</button>
</DropdownMenuTrigger>