diff options
author | Ivan Chen <ivan@tagg.id> | 2021-02-04 13:17:35 -0500 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-02-04 13:17:35 -0500 |
commit | eed4a97314ae4063e2e7bee25c8b7d60827b90c4 (patch) | |
tree | 03b026f50ad2028bc570312fd50c071c0ce9e563 | |
parent | 40c247a8010c13067b557312f49aa0b72db556b8 (diff) |
minor styling fix
-rw-r--r-- | src/components/profile/Friends.tsx | 2 | ||||
-rw-r--r-- | src/components/profile/ProfilePreview.tsx | 4 |
2 files changed, 3 insertions, 3 deletions
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, }, |