diff --git a/domains/DataCollection/Assets/NewAssets/AssetCore/index.styles.js b/domains/DataCollection/Assets/NewAssets/AssetCore/index.styles.js index 8317ef69c..9b48d9f55 100644 --- a/domains/DataCollection/Assets/NewAssets/AssetCore/index.styles.js +++ b/domains/DataCollection/Assets/NewAssets/AssetCore/index.styles.js @@ -5,9 +5,7 @@ import { const styles = StyleSheet.create({ assetContainer: { - // flex: 1, width: Dimensions.get('window').width * 0.90, - // height: Dimensions.get('window').height * .80, margin: 20, padding: 10, textAlign: 'left', @@ -15,7 +13,6 @@ const styles = StyleSheet.create({ borderColor: '#eaeaea', borderRadius: 10, borderWidth: 1, - // justifyContent: 'center', } }); diff --git a/domains/DataCollection/Assets/NewAssets/AssetSupplementary/index.js b/domains/DataCollection/Assets/NewAssets/AssetSupplementary/index.js index a2081dca0..bb79b09df 100644 --- a/domains/DataCollection/Assets/NewAssets/AssetSupplementary/index.js +++ b/domains/DataCollection/Assets/NewAssets/AssetSupplementary/index.js @@ -18,7 +18,7 @@ const AssetSupplementary = ({ selectedAsset, setSelectedAsset, surveyingOrganiza const [photoFile, setPhotoFile] = useState('State Photo String'); return ( - + { diff --git a/domains/DataCollection/Assets/NewAssets/AssetSupplementary/index.styles.js b/domains/DataCollection/Assets/NewAssets/AssetSupplementary/index.styles.js index 6a8bab0fd..4897308f9 100644 --- a/domains/DataCollection/Assets/NewAssets/AssetSupplementary/index.styles.js +++ b/domains/DataCollection/Assets/NewAssets/AssetSupplementary/index.styles.js @@ -1,18 +1,14 @@ -import { StyleSheet } from 'react-native'; +import { Dimensions, StyleSheet } from 'react-native'; const styles = StyleSheet.create({ assetContainer: { - width: '90%', - height: '100%', - margin: 30, - flex: 1, + width: Dimensions.get('window').width * 0.90, padding: 10, textAlign: 'left', backgroundColor: 'white', borderColor: '#eaeaea', borderRadius: 10, borderWidth: 1, - justifyContent: 'center', } });