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
Improve random value generator modal UI
carlosmonastyrski9ae0880f50c6
diff --git a/frontend/src/components/v2/PasswordGenerator/PasswordGenerator.tsx b/frontend/src/components/v2/PasswordGenerator/PasswordGenerator.tsxindex 62002b492f..457ff1cc13 100644--- a/frontend/src/components/v2/PasswordGenerator/PasswordGenerator.tsx+++ b/frontend/src/components/v2/PasswordGenerator/PasswordGenerator.tsx@@ -112,9 +112,8 @@ const PasswordGeneratorModal = ({className="w-full max-w-lg rounded-lg border border-mineshaft-600 bg-mineshaft-800 shadow-xl"><div className="p-6">- <h2 className="mb-1 text-xl font-semibold text-bunker-200">Password Generator</h2>- <p className="mb-6 text-sm text-bunker-400">Generate strong unique passwords</p>-+ <h2 className="mb-1 text-xl font-semibold text-bunker-200">Generate Random Value</h2>+ <p className="mb-6 text-sm text-bunker-400">Generate strong unique values</p><div className="relative mb-4 rounded-md bg-mineshaft-900 p-4"><div className="flex items-center justify-between"><div className="w-4/5 select-all break-all pr-2 font-mono text-lg">{password}</div>@@ -219,7 +218,7 @@ const PasswordGeneratorModal = ({onClick={usePassword}className="ml-2">- Use Password+ Use Value</Button>)}</div>@@ -252,11 +251,12 @@ export const PasswordGenerator = ({<><IconButtonariaLabel="generate password"- colorSchema="secondary"+ colorSchema="primary"+ variant="outline_bg"size="sm"onClick={toggleGenerator}isDisabled={isDisabled}- className="rounded text-bunker-400 transition-colors duration-150 hover:bg-mineshaft-700 hover:text-bunker-200"+ className="rounded"><FontAwesomeIcon icon={faKey} /></IconButton>