about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-12-11 21:01:56 +0000
committerGitHub <noreply@github.com>2024-12-11 21:01:56 +0000
commit7db5882ea287a7a97084680fc4d310f7077c44d1 (patch)
tree1263453b188b29558f6c8ba46b06979cf3f2038f /src
parentb081f8f8d9ff1a688f7f1a3eb742a84207500003 (diff)
parentc55063d26277c793ea2584f307d728cbcf04c815 (diff)
downloadvoidsky-7db5882ea287a7a97084680fc4d310f7077c44d1.tar.zst
Merge pull request #7058 from bluesky-social/fix-profile-empty-space-nobio
Diffstat (limited to 'src')
-rw-r--r--src/screens/Profile/Header/Metrics.tsx2
-rw-r--r--src/screens/Profile/Header/ProfileHeaderStandard.tsx6
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