aboutsummaryrefslogtreecommitdiff
path: root/src/components/profile/ProfilePreview.tsx
diff options
context:
space:
mode:
authorShravya Ramesh <shravs1208@gmail.com>2021-02-17 13:02:23 -0800
committerShravya Ramesh <shravs1208@gmail.com>2021-02-17 13:02:23 -0800
commit24bc662227b19ce6209d8f5325c04febe0ad82d5 (patch)
tree90636a89f48b97eb35976bf9ccb14fe563941944 /src/components/profile/ProfilePreview.tsx
parentd63929ef08530544ca238b15089b48f063301a0e (diff)
minor cosmetic changes
Diffstat (limited to 'src/components/profile/ProfilePreview.tsx')
-rw-r--r--src/components/profile/ProfilePreview.tsx5
1 files changed, 3 insertions, 2 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',