From 24bc662227b19ce6209d8f5325c04febe0ad82d5 Mon Sep 17 00:00:00 2001 From: Shravya Ramesh Date: Wed, 17 Feb 2021 13:02:23 -0800 Subject: minor cosmetic changes --- src/components/profile/ProfilePreview.tsx | 5 +++-- src/components/suggestedPeople/MutualFriends.tsx | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'src') 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 = () => { )} @@ -176,7 +176,7 @@ const styles = StyleSheet.create({ textAlign: 'center', }, scrollViewContainer: { - height: 130, + height: isIPhoneX() ? 153 : 135, shadowColor: 'rgb(125, 125, 125)', marginTop: '1%', }, -- cgit v1.2.3-70-g09d2