aboutsummaryrefslogtreecommitdiff
path: root/src/components/profile/ProfileBody.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@thetaggid.com>2021-01-27 19:50:22 -0500
committerGitHub <noreply@github.com>2021-01-27 19:50:22 -0500
commit77002bb0e78d5c47e6daca14e8c699706a3f94a2 (patch)
tree25b0b589381a821882a0b62d650af2b035e34c72 /src/components/profile/ProfileBody.tsx
parent19d2a861f260c02031d951f3d43bff8ac672146d (diff)
parente8483f3867f512dd3b70895650e3f3e4164f6cd8 (diff)
Merge pull request #206 from shravyaramesh/tma604-style-add-friend
[TMA-604] Style change minor
Diffstat (limited to 'src/components/profile/ProfileBody.tsx')
-rw-r--r--src/components/profile/ProfileBody.tsx18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/components/profile/ProfileBody.tsx b/src/components/profile/ProfileBody.tsx
index d10e2e15..1ee3ae2b 100644
--- a/src/components/profile/ProfileBody.tsx
+++ b/src/components/profile/ProfileBody.tsx
@@ -105,8 +105,8 @@ const ProfileBody: React.FC<ProfileBodyProps> = ({
{friendship_status === 'friends' && (
<Button
title={'Unfriend'}
- buttonStyle={styles.button}
- titleStyle={styles.buttonTitle}
+ buttonStyle={styles.requestedButton}
+ titleStyle={styles.requestedButtonTitle}
onPress={handleFriendUnfriend} // unfriend, no record status
/>
)}
@@ -176,11 +176,12 @@ const styles = StyleSheet.create({
justifyContent: 'center',
alignItems: 'center',
width: SCREEN_WIDTH * 0.4,
- height: SCREEN_WIDTH * 0.09,
+ height: SCREEN_WIDTH * 0.075,
borderColor: TAGG_LIGHT_BLUE,
- borderWidth: 3,
- borderRadius: 5,
+ borderWidth: 2,
+ borderRadius: 0,
marginRight: '2%',
+ marginLeft: '1%',
padding: 0,
backgroundColor: 'transparent',
},
@@ -200,10 +201,13 @@ const styles = StyleSheet.create({
justifyContent: 'center',
alignItems: 'center',
width: SCREEN_WIDTH * 0.4,
- height: SCREEN_WIDTH * 0.09,
+ height: SCREEN_WIDTH * 0.075,
padding: 0,
- borderRadius: 5,
+ borderWidth: 2,
+ borderColor: TAGG_LIGHT_BLUE,
+ borderRadius: 0,
marginRight: '2%',
+ marginLeft: '1%',
backgroundColor: TAGG_LIGHT_BLUE,
},
});