From a7ff6417bbf52d592e617c8442bb5adc8faf9882 Mon Sep 17 00:00:00 2001 From: vigzmv Date: Mon, 10 Jul 2017 11:45:06 +0530 Subject: [PATCH] Fix info box sizing --- styles/styles.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/styles/styles.js b/styles/styles.js index 1a8764c..bfde9c7 100644 --- a/styles/styles.js +++ b/styles/styles.js @@ -47,17 +47,17 @@ module.exports = StyleSheet.create({ }, langs: { - height: Dimensions.get('window').height - 100, - width: Dimensions.get('window').width - 80, + height: Dimensions.get('window').height / 1.26, + width: Dimensions.get('window').width / 1.16, paddingBottom: 10, }, infoBox: { - height: Dimensions.get('window').height - 480, - width: Dimensions.get('window').width - 100, + height: Dimensions.get('window').height / 2.7, + width: Dimensions.get('window').width / 1.2, justifyContent: 'center', alignItems: 'center', - padding: 30, + padding: 25, }, infoText: { @@ -67,7 +67,7 @@ module.exports = StyleSheet.create({ listBoxes: { borderBottomWidth: 1, borderBottomColor: '#CFD8DC', - width: Dimensions.get('window').width - 90, + width: Dimensions.get('window').width / 1.12, justifyContent: 'center', alignItems: 'center', },