diff options
author | Shravya Ramesh <shravs1208@gmail.com> | 2021-02-17 13:02:23 -0800 |
---|---|---|
committer | Shravya Ramesh <shravs1208@gmail.com> | 2021-02-17 13:02:23 -0800 |
commit | 24bc662227b19ce6209d8f5325c04febe0ad82d5 (patch) | |
tree | 90636a89f48b97eb35976bf9ccb14fe563941944 | |
parent | d63929ef08530544ca238b15089b48f063301a0e (diff) |
minor cosmetic changes
-rw-r--r-- | src/components/profile/ProfilePreview.tsx | 5 | ||||
-rw-r--r-- | src/components/suggestedPeople/MutualFriends.tsx | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/components/profile/ProfilePreview.tsx b/src/components/profile/ProfilePreview.tsx index 41792724..02ab94e7 100644 --- a/src/components/profile/ProfilePreview.tsx +++ b/src/components/profile/ProfilePreview.tsx @@ -18,6 +18,7 @@ import {PreviewType, ProfilePreviewType, ScreenType} from '../../types'; import { checkIfUserIsBlocked, fetchUserX, + isIPhoneX, normalize, SCREEN_WIDTH, userXInStore, @@ -365,8 +366,8 @@ const styles = StyleSheet.create({ flexDirection: 'column', justifyContent: 'center', alignItems: 'center', - paddingRight: 25, - backgroundColor: 'transparent', + marginRight: 25, + width: isIPhoneX() ? 80 : 65, }, suggestedPeopleAvatar: { alignSelf: 'center', diff --git a/src/components/suggestedPeople/MutualFriends.tsx b/src/components/suggestedPeople/MutualFriends.tsx index 6e5280ec..bc0889fd 100644 --- a/src/components/suggestedPeople/MutualFriends.tsx +++ b/src/components/suggestedPeople/MutualFriends.tsx @@ -44,7 +44,7 @@ const MutualFriends: React.FC = () => { </TouchableOpacity> )} <BottomDrawer - initialSnapPosition={isIPhoneX() ? '38%' : '45%'} + initialSnapPosition={isIPhoneX() ? '40%' : '45%'} showHeader={false} isOpen={drawerVisible} setIsOpen={setDrawerVisible}> @@ -176,7 +176,7 @@ const styles = StyleSheet.create({ textAlign: 'center', }, scrollViewContainer: { - height: 130, + height: isIPhoneX() ? 153 : 135, shadowColor: 'rgb(125, 125, 125)', marginTop: '1%', }, |