diff options
author | Dan Abramov <dan.abramov@gmail.com> | 2024-12-11 20:35:13 +0000 |
---|---|---|
committer | Dan Abramov <dan.abramov@gmail.com> | 2024-12-11 20:35:13 +0000 |
commit | c55063d26277c793ea2584f307d728cbcf04c815 (patch) | |
tree | 00c28de4db99993d27db813122c464d4e39a7452 /src | |
parent | de15f8e2d3264b9ffb18c3a089612ef604eb87b8 (diff) | |
download | voidsky-c55063d26277c793ea2584f307d728cbcf04c815.tar.zst |
Reduce excessive empty space on profile with no bio
Diffstat (limited to 'src')
-rw-r--r-- | src/screens/Profile/Header/Metrics.tsx | 2 | ||||
-rw-r--r-- | src/screens/Profile/Header/ProfileHeaderStandard.tsx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/screens/Profile/Header/Metrics.tsx b/src/screens/Profile/Header/Metrics.tsx index bd4c4521c..6fc77142e 100644 --- a/src/screens/Profile/Header/Metrics.tsx +++ b/src/screens/Profile/Header/Metrics.tsx @@ -30,7 +30,7 @@ export function ProfileHeaderMetrics({ return ( <View - style={[a.flex_row, a.gap_sm, a.align_center, a.pb_md]} + style={[a.flex_row, a.gap_sm, a.align_center]} pointerEvents="box-none"> <InlineLinkText testID="profileHeaderFollowersButton" diff --git a/src/screens/Profile/Header/ProfileHeaderStandard.tsx b/src/screens/Profile/Header/ProfileHeaderStandard.tsx index 340621398..b2de78515 100644 --- a/src/screens/Profile/Header/ProfileHeaderStandard.tsx +++ b/src/screens/Profile/Header/ProfileHeaderStandard.tsx @@ -244,7 +244,7 @@ let ProfileHeaderStandard = ({ <ProfileHeaderHandle profile={profile} /> </View> {!isPlaceholderProfile && !isBlockedUser && ( - <> + <View style={a.gap_md}> <ProfileHeaderMetrics profile={profile} /> {descriptionRT && !moderation.ui('profileView').blur ? ( <View pointerEvents="auto"> @@ -262,14 +262,14 @@ let ProfileHeaderStandard = ({ {!isMe && !isBlockedUser && shouldShowKnownFollowers(profile.viewer?.knownFollowers) && ( - <View style={[a.flex_row, a.align_center, a.gap_sm, a.pt_md]}> + <View style={[a.flex_row, a.align_center, a.gap_sm]}> <KnownFollowers profile={profile} moderationOpts={moderationOpts} /> </View> )} - </> + </View> )} </View> <Prompt.Basic |