The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fix horizontal scroll caused by OTP input on 2FA settings page (#14400)
nitin4239fe93b9bc
diff --git a/packages/twenty-front/src/pages/settings/SettingsTwoFactorAuthenticationMethod.tsx b/packages/twenty-front/src/pages/settings/SettingsTwoFactorAuthenticationMethod.tsxindex 92a3a974cc9..d5bf38ef251 100644--- a/packages/twenty-front/src/pages/settings/SettingsTwoFactorAuthenticationMethod.tsx+++ b/packages/twenty-front/src/pages/settings/SettingsTwoFactorAuthenticationMethod.tsx@@ -40,6 +40,10 @@ const StyledQRCodeWrapper = styled.div`padding: ${({ theme }) => theme.spacing(4)};`;+const StyledOTPContainer = styled.div`+ width: fit-content;+`;+const StyledQRCode = styled(QRCode)`height: 137px;width: 137px;@@ -174,7 +178,9 @@ export const SettingsTwoFactorAuthenticationMethod = () => {title={t`Verify the code from the app`}description={t`Copy paste the code below`}/>- <TwoFactorAuthenticationVerificationForSettings />+ <StyledOTPContainer>+ <TwoFactorAuthenticationVerificationForSettings />+ </StyledOTPContainer></Section>)}</SettingsPageContainer>