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
improvement: address feedback
Scott Wilson48e829fd0067
diff --git a/frontend/src/components/pki-syncs/CreatePkiSyncModal.tsx b/frontend/src/components/pki-syncs/CreatePkiSyncModal.tsxindex 4eb72b5b76..a5480eaafd 100644--- a/frontend/src/components/pki-syncs/CreatePkiSyncModal.tsx+++ b/frontend/src/components/pki-syncs/CreatePkiSyncModal.tsx@@ -66,10 +66,11 @@ export const CreatePkiSyncModal = ({onOpenChange(isOpen);}}>- {/* Sit below the v3 overlay layer (z-50) so the inline "Create Connection" Sheet and its v3- Select menus stack above this modal instead of being buried behind it. */}+ {/* z-50 (not the v2 default z-[60]) so the inline "Create Connection" Sheet and its v3 Select+ menus (all z-50, portaled later) stack above this modal instead of being buried behind it,+ while the backdrop still covers page chrome up to z-50 by portal order. */}<ModalContent- overlayClassName="z-40"+ overlayClassName="z-50"title={selectedSync ? (<PkiSyncModalHeader isConfigured={false} destination={selectedSync} />@@ -77,7 +78,7 @@ export const CreatePkiSyncModal = ({"Add Sync")}- className="z-40 max-w-3xl"+ className="z-50 max-w-3xl"bodyClassName={selectedSync ? "overflow-visible" : undefined}subTitle={selectedSync ? undefined : "Select a third-party service to sync certificates to."diff --git a/frontend/src/components/pki-syncs/EditPkiSyncModal.tsx b/frontend/src/components/pki-syncs/EditPkiSyncModal.tsxindex 71db686a75..f3868f39e5 100644--- a/frontend/src/components/pki-syncs/EditPkiSyncModal.tsx+++ b/frontend/src/components/pki-syncs/EditPkiSyncModal.tsx@@ -15,14 +15,16 @@ type Props = {export const EditPkiSyncModal = ({ pkiSync, onOpenChange, fields, ...props }: Props) => {if (!pkiSync) return null;- // z-40 keeps this modal below the v3 overlay layer (z-50) so the inline "Create Connection" Sheet- // and its v3 Select menus stack above it instead of being buried behind it.- const modalClassName = fields === PkiSyncEditFields.Mappings ? "z-40 max-w-4xl" : "z-40 max-w-2xl";+ // z-50 (not the v2 default z-[60]) so the inline "Create Connection" Sheet and its v3 Select+ // menus (all z-50, portaled later) stack above this modal instead of being buried behind it,+ // while the backdrop still covers page chrome up to z-50 by portal order.+ const modalClassName =+ fields === PkiSyncEditFields.Mappings ? "z-50 max-w-4xl" : "z-50 max-w-2xl";return (<Modal {...props} onOpenChange={onOpenChange}><ModalContent- overlayClassName="z-40"+ overlayClassName="z-50"title={<PkiSyncModalHeader isConfigured destination={pkiSync.destination} />}className={modalClassName}bodyClassName="overflow-visible"diff --git a/frontend/src/components/secret-rotations-v2/CreateSecretRotationV2Modal.tsx b/frontend/src/components/secret-rotations-v2/CreateSecretRotationV2Modal.tsxindex 42fcf57966..6189b5ea31 100644--- a/frontend/src/components/secret-rotations-v2/CreateSecretRotationV2Modal.tsx+++ b/frontend/src/components/secret-rotations-v2/CreateSecretRotationV2Modal.tsx@@ -109,10 +109,11 @@ export const CreateSecretRotationV2Modal = ({ onOpenChange, isOpen, ...props }:onOpenChange(open);}}>- {/* Sit below the v3 overlay layer (z-50) so the inline "Create Connection" Sheet and its v3- Select menus stack above this modal instead of being buried behind it. */}+ {/* z-50 (not the v2 default z-[60]) so the inline "Create Connection" Sheet and its v3 Select+ menus (all z-50, portaled later) stack above this modal instead of being buried behind it,+ while the backdrop still covers page chrome up to z-50 by portal order. */}<ModalContent- overlayClassName="z-40"+ overlayClassName="z-50"title={selectedRotation ? (<SecretRotationV2ModalHeader isConfigured={false} type={selectedRotation} />@@ -123,7 +124,7 @@ export const CreateSecretRotationV2Modal = ({ onOpenChange, isOpen, ...props }:</div>)}- className={selectedRotation ? "z-40 max-w-2xl" : "z-40 max-w-3xl"}+ className={selectedRotation ? "z-50 max-w-2xl" : "z-50 max-w-3xl"}subTitle={selectedRotation ? undefined : "Select a provider to create a secret rotation for."}diff --git a/frontend/src/components/secret-scanning/CreateSecretScanningDataSourceModal.tsx b/frontend/src/components/secret-scanning/CreateSecretScanningDataSourceModal.tsxindex bc8507e16d..6e50565024 100644--- a/frontend/src/components/secret-scanning/CreateSecretScanningDataSourceModal.tsx+++ b/frontend/src/components/secret-scanning/CreateSecretScanningDataSourceModal.tsx@@ -102,10 +102,11 @@ export const CreateSecretScanningDataSourceModal = ({ onOpenChange, isOpen, ...ponOpenChange(open);}}>- {/* Sit below the v3 overlay layer (z-50) so the inline "Create Connection" Sheet and its v3- Select menus stack above this modal instead of being buried behind it. */}+ {/* z-50 (not the v2 default z-[60]) so the inline "Create Connection" Sheet and its v3 Select+ menus (all z-50, portaled later) stack above this modal instead of being buried behind it,+ while the backdrop still covers page chrome up to z-50 by portal order. */}<ModalContent- overlayClassName="z-40"+ overlayClassName="z-50"title={selectedDataSource ? (<SecretScanningDataSourceModalHeader isConfigured={false} type={selectedDataSource} />@@ -116,7 +117,7 @@ export const CreateSecretScanningDataSourceModal = ({ onOpenChange, isOpen, ...p</div>)}- className={selectedDataSource ? "z-40 max-w-2xl" : "z-40 max-w-3xl"}+ className={selectedDataSource ? "z-50 max-w-2xl" : "z-50 max-w-3xl"}subTitle={selectedDataSource ? undefined : "Select a data source to configure secret scanning for."}