Skip to content

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

fix highlight overflow

Thiago Araujo da Silva4b782ab892c7
diff --git a/frontend/src/pages/user/PersonalSettingsPage/components/SecuritySection/MethodSetupDialog.tsx b/frontend/src/pages/user/PersonalSettingsPage/components/SecuritySection/MethodSetupDialog.tsx
index 32b3788df9..a9e34f2834 100644
--- a/frontend/src/pages/user/PersonalSettingsPage/components/SecuritySection/MethodSetupDialog.tsx
+++ b/frontend/src/pages/user/PersonalSettingsPage/components/SecuritySection/MethodSetupDialog.tsx
@@ -26,18 +26,16 @@ export const MethodSetupDialog = ({ method, onOpenChange, onCompleted }: Props)
</DialogTitle>
<DialogDescription>Configure this method as a second factor.</DialogDescription>
</DialogHeader>
- <div className="max-h-96 overflow-y-auto">
- {method && (
- <VerifyStep
- method={method}
- variant="neutral"
- onVerified={() => {
- onCompleted();
- onOpenChange(false);
- }}
- />
- )}
- </div>
+ {method && (
+ <VerifyStep
+ method={method}
+ variant="neutral"
+ onVerified={() => {
+ onCompleted();
+ onOpenChange(false);
+ }}
+ />
+ )}
</DialogContent>
</Dialog>
);