From 1eb5bfe03386c74ec9155ccb8a001030b58ee363 Mon Sep 17 00:00:00 2001 From: Hope Tambala Date: Sat, 12 Jun 2021 12:11:34 -0400 Subject: [PATCH] fix: bug where small androids couldn't find submit button --- .../Assets/NewAssets/AssetCore/index.styles.js | 6 ------ .../Assets/NewAssets/AssetSupplementary/index.styles.js | 1 - domains/DataCollection/Assets/NewAssets/index.js | 2 +- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/domains/DataCollection/Assets/NewAssets/AssetCore/index.styles.js b/domains/DataCollection/Assets/NewAssets/AssetCore/index.styles.js index 854308aaa..a0ff879fb 100644 --- a/domains/DataCollection/Assets/NewAssets/AssetCore/index.styles.js +++ b/domains/DataCollection/Assets/NewAssets/AssetCore/index.styles.js @@ -6,13 +6,7 @@ import { const styles = StyleSheet.create({ assetContainer: { width: Dimensions.get('window').width * 0.90, - margin: 20, - padding: 10, textAlign: 'left', - // backgroundColor: 'white', - // borderColor: '#eaeaea', - // borderRadius: 10, - // borderWidth: 1, } }); diff --git a/domains/DataCollection/Assets/NewAssets/AssetSupplementary/index.styles.js b/domains/DataCollection/Assets/NewAssets/AssetSupplementary/index.styles.js index aa981ba0f..4ab081264 100644 --- a/domains/DataCollection/Assets/NewAssets/AssetSupplementary/index.styles.js +++ b/domains/DataCollection/Assets/NewAssets/AssetSupplementary/index.styles.js @@ -3,7 +3,6 @@ import { Dimensions, StyleSheet } from 'react-native'; const styles = StyleSheet.create({ assetContainer: { width: Dimensions.get('window').width * 0.90, - padding: 10, textAlign: 'left', } }); diff --git a/domains/DataCollection/Assets/NewAssets/index.js b/domains/DataCollection/Assets/NewAssets/index.js index 73bf252d3..a8d6d3ee7 100644 --- a/domains/DataCollection/Assets/NewAssets/index.js +++ b/domains/DataCollection/Assets/NewAssets/index.js @@ -35,7 +35,7 @@ const styles = StyleSheet.create({ viewPager: { flex: 1, width: Dimensions.get('window').width, - height: Dimensions.get('window').height * 0.70 + height: Dimensions.get('window').height * 0.65, }, page: { justifyContent: 'center',