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
style: handle secret comment ui overflow
Scott Wilsonb009dc4e741a
diff --git a/frontend/src/components/v3/generic/TextArea/TextArea.tsx b/frontend/src/components/v3/generic/TextArea/TextArea.tsxindex b4e23901a7..92221ab863 100644--- a/frontend/src/components/v3/generic/TextArea/TextArea.tsx+++ b/frontend/src/components/v3/generic/TextArea/TextArea.tsx@@ -8,7 +8,7 @@ function TextArea({ className, ...props }: React.ComponentProps<"textarea">) {<textareadata-slot="textarea"className={cn(- "placeholder:text-muted-foreground aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive flex field-sizing-content min-h-16 w-full rounded-md border border-border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",+ "placeholder:text-muted-foreground aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive flex field-sizing-content min-h-16 thin-scrollbar w-full rounded-md border border-border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",className)}{...props}diff --git a/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretCommentForm.tsx b/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretCommentForm.tsxindex 1e5c447c58..880659b77a 100644--- a/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretCommentForm.tsx+++ b/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretCommentForm.tsx@@ -90,7 +90,7 @@ export const SecretCommentForm = ({<div className="space-y-3"><p className="text-sm font-medium">Comment</p>- <p className="min-h-24 rounded-md border border-border px-3 py-2 text-sm opacity-100">+ <p className="max-h-48 min-h-24 thin-scrollbar overflow-y-auto rounded-md border border-border px-3 py-2 text-sm break-words opacity-100">{comment}</p><div className="flex justify-end gap-2">@@ -139,7 +139,7 @@ export const SecretCommentForm = ({{...field}autoFocusplaceholder="Add a comment..."- className="min-h-24 resize-none"+ className="max-h-48 min-h-24 resize-none"/>)}/>