Reduce excessive empty space on profile with no bio
This commit is contained in:
@@ -30,7 +30,7 @@ export function ProfileHeaderMetrics({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<View
|
<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">
|
pointerEvents="box-none">
|
||||||
<InlineLinkText
|
<InlineLinkText
|
||||||
testID="profileHeaderFollowersButton"
|
testID="profileHeaderFollowersButton"
|
||||||
|
|||||||
@@ -244,7 +244,7 @@ let ProfileHeaderStandard = ({
|
|||||||
<ProfileHeaderHandle profile={profile} />
|
<ProfileHeaderHandle profile={profile} />
|
||||||
</View>
|
</View>
|
||||||
{!isPlaceholderProfile && !isBlockedUser && (
|
{!isPlaceholderProfile && !isBlockedUser && (
|
||||||
<>
|
<View style={a.gap_md}>
|
||||||
<ProfileHeaderMetrics profile={profile} />
|
<ProfileHeaderMetrics profile={profile} />
|
||||||
{descriptionRT && !moderation.ui('profileView').blur ? (
|
{descriptionRT && !moderation.ui('profileView').blur ? (
|
||||||
<View pointerEvents="auto">
|
<View pointerEvents="auto">
|
||||||
@@ -262,14 +262,14 @@ let ProfileHeaderStandard = ({
|
|||||||
{!isMe &&
|
{!isMe &&
|
||||||
!isBlockedUser &&
|
!isBlockedUser &&
|
||||||
shouldShowKnownFollowers(profile.viewer?.knownFollowers) && (
|
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
|
<KnownFollowers
|
||||||
profile={profile}
|
profile={profile}
|
||||||
moderationOpts={moderationOpts}
|
moderationOpts={moderationOpts}
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
)}
|
)}
|
||||||
</>
|
</View>
|
||||||
)}
|
)}
|
||||||
</View>
|
</View>
|
||||||
<Prompt.Basic
|
<Prompt.Basic
|
||||||
|
|||||||
Reference in New Issue
Block a user