aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/profile/Content.tsx5
-rw-r--r--src/components/taggs/Tagg.tsx6
-rw-r--r--src/screens/suggestedPeople/SuggestedPeopleScreen.tsx32
3 files changed, 23 insertions, 20 deletions
diff --git a/src/components/profile/Content.tsx b/src/components/profile/Content.tsx
index 86d40f1b..e75ae949 100644
--- a/src/components/profile/Content.tsx
+++ b/src/components/profile/Content.tsx
@@ -309,9 +309,7 @@ const Content: React.FC<ContentProps> = ({y, userXId, screenType}) => {
isBlocked,
}}
/>
- <View style={styles.taggsbarContainer}>
- <TaggsBar {...{y, profileBodyHeight, userXId, screenType}} />
- </View>
+ <TaggsBar {...{y, profileBodyHeight, userXId, screenType}} />
<View style={styles.momentsContainer}>
{userXId && moments.length === 0 && (
<View style={styles.plusIconContainer}>
@@ -418,7 +416,6 @@ const styles = StyleSheet.create({
color: 'gray',
marginVertical: '8%',
},
- taggsbarContainer: {paddingHorizontal: 15},
});
export default Content;
diff --git a/src/components/taggs/Tagg.tsx b/src/components/taggs/Tagg.tsx
index 50651f74..547a77cb 100644
--- a/src/components/taggs/Tagg.tsx
+++ b/src/components/taggs/Tagg.tsx
@@ -174,13 +174,15 @@ const styles = StyleSheet.create({
spcontainer: {
justifyContent: 'space-between',
alignItems: 'center',
- marginRight: 34,
+ marginRight: 15,
+ marginLeft: 19,
height: normalize(60),
},
container: {
justifyContent: 'space-between',
alignItems: 'center',
- marginRight: 34,
+ marginRight: 15,
+ marginLeft: 15,
height: normalize(90),
},
iconTap: {
diff --git a/src/screens/suggestedPeople/SuggestedPeopleScreen.tsx b/src/screens/suggestedPeople/SuggestedPeopleScreen.tsx
index c81c4f8c..ba9c36a7 100644
--- a/src/screens/suggestedPeople/SuggestedPeopleScreen.tsx
+++ b/src/screens/suggestedPeople/SuggestedPeopleScreen.tsx
@@ -59,18 +59,20 @@ const SuggestedPeopleScreen: React.FC = () => {
<View style={styles.mainContainer}>
<Text style={styles.title}>Suggested People</Text>
<View style={styles.body}>
- <View style={styles.addUserContainer}>
- <View style={styles.nameInfoContainer}>
- <Text style={styles.firstName}>{firstName}</Text>
- <Text style={styles.username}>{username}</Text>
- </View>
- <TouchableOpacity
- activeOpacity={0.5}
- onPress={() => console.log('Call add friend function')}>
- <View style={styles.addButton}>
- <Text style={styles.addButtonTitle}>{'Add Friend'}</Text>
+ <View style={styles.marginManager}>
+ <View style={styles.addUserContainer}>
+ <View style={styles.nameInfoContainer}>
+ <Text style={styles.firstName}>{firstName}</Text>
+ <Text style={styles.username}>{username}</Text>
</View>
- </TouchableOpacity>
+ <TouchableOpacity
+ activeOpacity={0.5}
+ onPress={() => console.log('Call add friend function')}>
+ <View style={styles.addButton}>
+ <Text style={styles.addButtonTitle}>{'Add Friend'}</Text>
+ </View>
+ </TouchableOpacity>
+ </View>
</View>
<TaggsBar
y={y}
@@ -79,7 +81,9 @@ const SuggestedPeopleScreen: React.FC = () => {
screenType={ScreenType.SuggestedPeople}
whiteRing={true}
/>
- <MutualFriends />
+ <View style={styles.marginManager}>
+ <MutualFriends />
+ </View>
</View>
</View>
<TabsGradient />
@@ -96,12 +100,12 @@ const SuggestedPeopleScreen: React.FC = () => {
const styles = StyleSheet.create({
mainContainer: {
flexDirection: 'column',
- width: SCREEN_WIDTH * 0.9,
+ width: SCREEN_WIDTH,
height: isIPhoneX() ? SCREEN_HEIGHT * 0.85 : SCREEN_HEIGHT * 0.88,
justifyContent: 'space-between',
alignSelf: 'center',
- marginHorizontal: '5%',
},
+ marginManager: {marginHorizontal: '5%'},
image: {
position: 'absolute',
width: SCREEN_WIDTH,