Skip to content

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

style: adjust max w on settings card

Scott Wilsonc2b146af7a52
diff --git a/frontend/src/pages/organization/SettingsPage/components/OrgNameChangeSection/OrgNameChangeSection.tsx b/frontend/src/pages/organization/SettingsPage/components/OrgNameChangeSection/OrgNameChangeSection.tsx
index b6600da88b..28c1cfac04 100644
--- a/frontend/src/pages/organization/SettingsPage/components/OrgNameChangeSection/OrgNameChangeSection.tsx
+++ b/frontend/src/pages/organization/SettingsPage/components/OrgNameChangeSection/OrgNameChangeSection.tsx
@@ -185,7 +185,7 @@ export const OrgNameChangeSection = (): JSX.Element => {
/>
)}
</FieldGroup>
- <div className="mt-6 flex justify-end">
+ <div className="mt-6 flex">
<OrgPermissionCan I={OrgPermissionActions.Edit} a={OrgPermissionSubjects.Settings}>
{(isAllowed) => (
<Button variant="org" type="submit" isPending={isPending} isDisabled={!isAllowed}>
diff --git a/frontend/src/pages/organization/SettingsPage/components/OrgSecurityTab/OrgGenericAuthSection.tsx b/frontend/src/pages/organization/SettingsPage/components/OrgSecurityTab/OrgGenericAuthSection.tsx
index 5554453575..712c0cc140 100644
--- a/frontend/src/pages/organization/SettingsPage/components/OrgSecurityTab/OrgGenericAuthSection.tsx
+++ b/frontend/src/pages/organization/SettingsPage/components/OrgSecurityTab/OrgGenericAuthSection.tsx
@@ -117,7 +117,7 @@ export const OrgGenericAuthSection = () => {
value={currentOrg.selectedMfaMethod ?? MfaMethod.EMAIL}
onValueChange={(value) => handleUpdateSelectedMfa(value as MfaMethod)}
>
- <SelectTrigger id="org-mfa-method" className="w-full">
+ <SelectTrigger id="org-mfa-method" className="w-full max-w-sm">
<SelectValue />
</SelectTrigger>
<SelectContent position="popper">