Skip to content

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

Update RevealSecretValueModal.tsx

Daniel3e861475d77a
diff --git a/frontend/src/pages/organization/SecretSharingPage/components/RequestSecret/RevealSecretValueModal.tsx b/frontend/src/pages/organization/SecretSharingPage/components/RequestSecret/RevealSecretValueModal.tsx
index 1c53539068..b949f7a49c 100644
--- a/frontend/src/pages/organization/SecretSharingPage/components/RequestSecret/RevealSecretValueModal.tsx
+++ b/frontend/src/pages/organization/SecretSharingPage/components/RequestSecret/RevealSecretValueModal.tsx
@@ -31,8 +31,8 @@ const Content = ({ secretValue, onClose }: ContentProps) => {
return (
<>
- <div className="relative flex items-center justify-between rounded-md border border-border bg-container p-2 pr-5 pl-3 text-base text-label">
- <p className="mr-4 break-all">{secretValue}</p>
+ <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>
<Tooltip>
<TooltipTrigger asChild>
<IconButton