Skip to content

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

match secret container style to secret info container

x0322051f8d71a98e07
diff --git a/frontend/src/pages/public/ViewSharedSecretByIDPage/components/SecretContainer.tsx b/frontend/src/pages/public/ViewSharedSecretByIDPage/components/SecretContainer.tsx
index f2136bcbd9..21f7eb076c 100644
--- a/frontend/src/pages/public/ViewSharedSecretByIDPage/components/SecretContainer.tsx
+++ b/frontend/src/pages/public/ViewSharedSecretByIDPage/components/SecretContainer.tsx
@@ -57,6 +57,7 @@ export const SecretContainer = ({ secret, secretKey: key, brandingTheme }: Props
const secretDisplayStyle = brandingTheme
? {
backgroundColor: brandingTheme.inputBg,
+ borderColor: brandingTheme.panelBorder,
color: brandingTheme.textColor
}
: undefined;
@@ -74,8 +75,8 @@ export const SecretContainer = ({ secret, secretKey: key, brandingTheme }: Props
style={panelStyle}
>
<div
- className={`flex items-center justify-between rounded-md p-2 text-base ${
- brandingTheme ? "" : "bg-white/5 text-gray-400"
+ className={`flex items-center justify-between rounded-md border p-2 pl-3 text-base ${
+ brandingTheme ? "" : "border-mineshaft-600 bg-mineshaft-700/50 text-gray-400"
}`}
style={secretDisplayStyle}
>