aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShravya Ramesh <shravs1208@gmail.com>2021-02-18 10:54:28 -0800
committerShravya Ramesh <shravs1208@gmail.com>2021-02-18 10:54:28 -0800
commit6fb6afbf091457aaa5b7116cdc635f75162bcf5f (patch)
treeee40e798d72d201c827951a83ec0f17471367588 /src
parent032bfc5d4d48eca542d2622df22ad353b594ef0b (diff)
restyled cancel button to match EditProfile drawer
Diffstat (limited to 'src')
-rw-r--r--src/components/suggestedPeople/MutualFriends.tsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/components/suggestedPeople/MutualFriends.tsx b/src/components/suggestedPeople/MutualFriends.tsx
index 3f9df4cd..f99279c0 100644
--- a/src/components/suggestedPeople/MutualFriends.tsx
+++ b/src/components/suggestedPeople/MutualFriends.tsx
@@ -52,7 +52,7 @@ const MutualFriends: React.FC = () => {
</TouchableOpacity>
)}
<BottomDrawer
- initialSnapPosition={isIPhoneX() ? '40%' : '46%'}
+ initialSnapPosition={isIPhoneX() ? '43%' : '50%'}
showHeader={false}
isOpen={drawerVisible}
setIsOpen={setDrawerVisible}>
@@ -138,7 +138,7 @@ const styles = StyleSheet.create({
flexDirection: 'column',
backgroundColor: '#f9f9f9',
width: SCREEN_WIDTH,
- height: isIPhoneX() ? SCREEN_HEIGHT * 0.4 : SCREEN_HEIGHT * 0.46,
+ height: SCREEN_HEIGHT * 0.46,
borderTopRightRadius: normalize(13),
borderTopLeftRadius: normalize(13),
borderWidth: 0.5,
@@ -196,14 +196,14 @@ const styles = StyleSheet.create({
},
cancelButton: {
backgroundColor: '#F0F0F0',
- height: '50%',
+ height: 100,
flexDirection: 'row',
justifyContent: 'center',
},
cancelButtonText: {
- top: isIPhoneX() ? '6%' : '5%',
+ top: isIPhoneX() ? '6%' : '7%',
color: '#698DD3',
- fontSize: normalize(17),
+ fontSize: normalize(16),
fontWeight: '700',
lineHeight: normalize(20),
letterSpacing: normalize(0.1),