From 85a43349ab1b9159363f30c5cc022ad019e44ea3 Mon Sep 17 00:00:00 2001 From: prithvisingh01-tech Date: Mon, 26 Jan 2026 12:03:09 +0530 Subject: [PATCH] fix: restrict max width of 2FA dialog on tablet --- app/containers/TwoFactor/styles.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/containers/TwoFactor/styles.ts b/app/containers/TwoFactor/styles.ts index c1a401ad7b0..55834a4a5ec 100644 --- a/app/containers/TwoFactor/styles.ts +++ b/app/containers/TwoFactor/styles.ts @@ -10,7 +10,9 @@ export default StyleSheet.create({ }, content: { padding: 16, - width: '100%', + width: '100%', + maxWidth: 480, // <-- New: Stops it from stretching too wide on large screens. + alignSelf: 'center',// <-- New: Forces it to stay in the middle of the ipad Screen. borderRadius: 4 }, title: {