From d61716a67fddbafa5fbefca4aec5f69b1cef1c85 Mon Sep 17 00:00:00 2001 From: Alexander Mjoberg Date: Wed, 6 Nov 2019 13:27:35 +0100 Subject: [PATCH 1/2] resized modals --- src/screens/Profile/ProfileLoginScreen.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/screens/Profile/ProfileLoginScreen.js b/src/screens/Profile/ProfileLoginScreen.js index 5a5455d..8a50517 100644 --- a/src/screens/Profile/ProfileLoginScreen.js +++ b/src/screens/Profile/ProfileLoginScreen.js @@ -89,7 +89,7 @@ const styles = { width:'100%', }, createAccountView: { - height:'55%', + height:'85%', width:'100%', backgroundColor: '#fff', borderRadius:10 @@ -135,7 +135,7 @@ const styles = { width:'100%', }, helpView: { - height:'60%', + height:'90%', width:'100%', backgroundColor: '#fff', borderRadius:10, From ac8d12e723ce3ea69cb0489b65ef803fafe4b563 Mon Sep 17 00:00:00 2001 From: Alexander Mjoberg Date: Fri, 8 Nov 2019 13:44:04 +0100 Subject: [PATCH 2/2] Dynamic height modals added --- src/screens/Profile/ProfileLoginScreen.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/screens/Profile/ProfileLoginScreen.js b/src/screens/Profile/ProfileLoginScreen.js index 8a50517..e85d0c2 100644 --- a/src/screens/Profile/ProfileLoginScreen.js +++ b/src/screens/Profile/ProfileLoginScreen.js @@ -89,7 +89,7 @@ const styles = { width:'100%', }, createAccountView: { - height:'85%', + height: Math.round(Dimensions.get('window').height)*0.85, width:'100%', backgroundColor: '#fff', borderRadius:10 @@ -135,7 +135,7 @@ const styles = { width:'100%', }, helpView: { - height:'90%', + height: Math.round(Dimensions.get('window').height)*0.85, width:'100%', backgroundColor: '#fff', borderRadius:10,