Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix(frontend): handle title truncation in page header component
Scott Wilson698bd489dedb
diff --git a/frontend/src/components/v2/PageHeader/PageHeader.tsx b/frontend/src/components/v2/PageHeader/PageHeader.tsxindex ffe4c9daee..4c0f9363c8 100644--- a/frontend/src/components/v2/PageHeader/PageHeader.tsx+++ b/frontend/src/components/v2/PageHeader/PageHeader.tsx@@ -29,10 +29,10 @@ const SCOPE_BADGE: Record<NonNullable<Props["scope"]>, { icon: LucideIcon; classexport const PageHeader = ({ title, description, children, className, scope }: Props) => (<div className={twMerge("mb-10 w-full", className)}><div className="flex w-full justify-between">- <div className="mr-4 flex w-full items-center">+ <div className="mr-4 flex min-w-0 flex-1 items-center"><h1className={twMerge(- "text-2xl font-medium text-white underline decoration-2 underline-offset-4",+ "truncate text-2xl font-medium text-white underline decoration-2 underline-offset-4",scope === "org" && "decoration-org/90",scope === "instance" && "decoration-neutral/90",scope === "namespace" && "decoration-sub-org/90",