Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update confirm dialog to show text in center when it wraps due to translations (#1812)

Leendert de Borst5aa7ab1c4b0a
diff --git a/apps/mobile-app/components/common/ConfirmDialog.tsx b/apps/mobile-app/components/common/ConfirmDialog.tsx
index 7e01a1a69..984a1096f 100644
--- a/apps/mobile-app/components/common/ConfirmDialog.tsx
+++ b/apps/mobile-app/components/common/ConfirmDialog.tsx
@@ -187,6 +187,7 @@ export const ConfirmDialog: React.FC<IConfirmDialogProps> = ({
gap: 8,
justifyContent: 'center',
paddingVertical: 12,
+ paddingHorizontal: 8,
},
buttonDisabled: {
opacity: 0.6,
@@ -194,6 +195,8 @@ export const ConfirmDialog: React.FC<IConfirmDialogProps> = ({
buttonText: {
fontSize: 16,
fontWeight: '500',
+ textAlign: 'center',
+ flexShrink: 1,
},
});