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(secret-share): wrap long secret values instead of overflowing
Claude73450ac14700
diff --git a/frontend/src/pages/organization/SecretSharingPage/components/RequestSecret/RevealSecretValueModal.tsx b/frontend/src/pages/organization/SecretSharingPage/components/RequestSecret/RevealSecretValueModal.tsxindex b949f7a49c..4eb86b4030 100644--- a/frontend/src/pages/organization/SecretSharingPage/components/RequestSecret/RevealSecretValueModal.tsx+++ b/frontend/src/pages/organization/SecretSharingPage/components/RequestSecret/RevealSecretValueModal.tsx@@ -32,7 +32,7 @@ const Content = ({ secretValue, onClose }: ContentProps) => {return (<><div className="relative flex items-start justify-between rounded-md border border-border bg-container p-2 pr-5 pl-3 text-base text-label">- <p className="mr-4 max-h-128 thin-scrollbar overflow-y-auto break-all">{secretValue}</p>+ <p className="min-w-0 mr-4 max-h-128 thin-scrollbar overflow-y-auto break-all">{secretValue}</p><Tooltip><TooltipTrigger asChild><IconButtondiff --git a/frontend/src/pages/public/ViewSharedSecretByIDPage/components/SecretContainer.tsx b/frontend/src/pages/public/ViewSharedSecretByIDPage/components/SecretContainer.tsxindex d054eecf4f..2368ef55f9 100644--- a/frontend/src/pages/public/ViewSharedSecretByIDPage/components/SecretContainer.tsx+++ b/frontend/src/pages/public/ViewSharedSecretByIDPage/components/SecretContainer.tsx@@ -50,7 +50,7 @@ export const SecretContainer = ({ secret, brandingTheme }: Props) => {}`}style={secretDisplayStyle}>- <p className="break-all whitespace-pre-wrap">+ <p className="min-w-0 break-all whitespace-pre-wrap">{isVisible ? secret.secretValue : hiddenSecret}</p><div className="ml-1 flex">