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
prevent copy button from being in middle
Maidul Islam445758b35dfb
diff --git a/frontend/src/pages/public/ViewSharedSecretByIDPage/components/SecretContainer.tsx b/frontend/src/pages/public/ViewSharedSecretByIDPage/components/SecretContainer.tsxindex 2368ef55f9..3167f07fb4 100644--- a/frontend/src/pages/public/ViewSharedSecretByIDPage/components/SecretContainer.tsx+++ b/frontend/src/pages/public/ViewSharedSecretByIDPage/components/SecretContainer.tsx@@ -45,7 +45,7 @@ export const SecretContainer = ({ secret, brandingTheme }: Props) => {return (<div style={panelStyle}><div- className={`flex items-center justify-between rounded-md border p-2 pl-3 text-base ${+ className={`flex items-start justify-between rounded-md border p-2 pl-3 text-base ${brandingTheme ? "" : "border-border bg-container text-label"}`}style={secretDisplayStyle}@@ -53,7 +53,7 @@ export const SecretContainer = ({ secret, brandingTheme }: Props) => {<p className="min-w-0 break-all whitespace-pre-wrap">{isVisible ? secret.secretValue : hiddenSecret}</p>- <div className="ml-1 flex">+ <div className="ml-1 flex shrink-0 items-start gap-2 self-start"><IconButtonaria-label="copy icon"variant="ghost"@@ -74,7 +74,6 @@ export const SecretContainer = ({ secret, brandingTheme }: Props) => {aria-label="toggle visibility"variant="ghost"size="sm"- className="ml-2"onClick={() => setIsVisible.toggle()}style={iconButtonStyle}>