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
fix modal on smaller screens
adilson52cb272b7bed
diff --git a/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2Form.tsx b/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2Form.tsxindex 7021401d1b..a60e1211d0 100644--- a/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2Form.tsx+++ b/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2Form.tsx@@ -170,7 +170,7 @@ export const SecretRotationV2Form = ({<div className="flex min-h-0 flex-1 flex-col"><FormProvider {...formMethods}><Tab.Group selectedIndex={selectedTabIndex} onChange={setSelectedTabIndex}>- <Tab.List className="-pb-1 mb-6 w-full border-b-2 border-mineshaft-600">+ <Tab.List className="-pb-1 mb-6 w-full flex-shrink-0 border-b-2 border-mineshaft-600">{FORM_TABS.map((tab, index) => (<TabonClick={async (e) => {@@ -191,7 +191,7 @@ export const SecretRotationV2Form = ({</Tab>))}</Tab.List>- <Tab.Panels>+ <Tab.Panels className="thin-scrollbar min-h-0 flex-1 overflow-y-auto"><Tab.Panel><SecretRotationV2ConfigurationFieldsisUpdate={Boolean(secretRotation)}diff --git a/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ParametersFields/CloudflareApiTokenRotationParametersFields.tsx b/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ParametersFields/CloudflareApiTokenRotationParametersFields.tsxindex c1d1606ff4..8d82b20ac9 100644--- a/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ParametersFields/CloudflareApiTokenRotationParametersFields.tsx+++ b/frontend/src/components/secret-rotations-v2/forms/SecretRotationV2ParametersFields/CloudflareApiTokenRotationParametersFields.tsx@@ -144,12 +144,7 @@ export const CloudflareApiTokenRotationParametersFields = () => {label="Access Policies"tooltipText="Each row grants one permission group over the entire account, all zones in the account, or a specific set of zones. Rows targeting the same resources are combined into a single Cloudflare policy."/>- <div- className={twMerge(- "mb-3 flex w-full flex-col space-y-2",- policyFields.fields.length >= 3 ? "max-h-96 overflow-y-auto" : ""- )}- >+ <div className="mb-3 flex w-full flex-col space-y-2">{policyFields.fields.map(({ id: policyFieldId }, i) => {const policyScope = policies?.[i]?.scope ?? CloudflareApiTokenPolicyScope.Account;const permissionGroupOptions = permissionGroupsByScope[policyScope];