From 62c2d876ebd9f9d4c90dc24ed30e002fb92896fa Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Mon, 21 Nov 2022 16:10:38 -0300 Subject: [PATCH] [IMPROVE] Standardize padding of E2E screens (#4701) --- app/views/E2EEnterYourPasswordView.tsx | 12 +++--------- app/views/E2EHowItWorksView.tsx | 4 ++-- app/views/E2ESaveYourPasswordView.tsx | 14 ++++++++------ app/views/Styles.ts | 2 +- 4 files changed, 14 insertions(+), 18 deletions(-) diff --git a/app/views/E2EEnterYourPasswordView.tsx b/app/views/E2EEnterYourPasswordView.tsx index 3b00c50a3..18245da63 100644 --- a/app/views/E2EEnterYourPasswordView.tsx +++ b/app/views/E2EEnterYourPasswordView.tsx @@ -17,12 +17,9 @@ import { useTheme } from '../theme'; import sharedStyles from './Styles'; const styles = StyleSheet.create({ - container: { - padding: 28 - }, info: { - fontSize: 14, - marginVertical: 8, + fontSize: 16, + marginVertical: 4, ...sharedStyles.textRegular } }); @@ -53,10 +50,7 @@ const E2EEnterYourPasswordView = (): React.ReactElement => { > - + { style={[styles.copyButton, { backgroundColor: colors.auxiliaryBackground }]} title={I18n.t('Copy')} type='secondary' - fontSize={12} + fontSize={14} /> {I18n.t('Save_Your_Encryption_Password_info')} diff --git a/app/views/Styles.ts b/app/views/Styles.ts index 4dd9dcd18..c341d13a0 100644 --- a/app/views/Styles.ts +++ b/app/views/Styles.ts @@ -18,7 +18,7 @@ export default StyleSheet.create({ flexDirection: 'column' }, containerScrollView: { - padding: 15, + padding: 16, paddingBottom: 30 }, tabletScreenContent: {