From eed4a97314ae4063e2e7bee25c8b7d60827b90c4 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Thu, 4 Feb 2021 13:17:35 -0500 Subject: minor styling fix --- src/components/profile/Friends.tsx | 2 +- src/components/profile/ProfilePreview.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/components/profile/Friends.tsx b/src/components/profile/Friends.tsx index 9b8b227c..9b9e5302 100644 --- a/src/components/profile/Friends.tsx +++ b/src/components/profile/Friends.tsx @@ -70,7 +70,7 @@ const styles = StyleSheet.create({ alignSelf: 'center', paddingBottom: SCREEN_HEIGHT / 15, width: SCREEN_WIDTH * 0.85, - height: SCREEN_HEIGHT, + height: SCREEN_HEIGHT * 0.75, marginTop: '1%', }, header: {flexDirection: 'row'}, diff --git a/src/components/profile/ProfilePreview.tsx b/src/components/profile/ProfilePreview.tsx index 455c4f56..fad3ec09 100644 --- a/src/components/profile/ProfilePreview.tsx +++ b/src/components/profile/ProfilePreview.tsx @@ -318,8 +318,8 @@ const styles = StyleSheet.create({ width: SCREEN_WIDTH * 0.6, }, friendAvatar: { - height: '100%', - aspectRatio: 1, + height: normalize(42), + width: normalize(42), marginRight: 15, borderRadius: 50, }, -- cgit v1.2.3-70-g09d2