Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix anchor follow button alignment (#8522)

authored by

Eric Bailey and committed by
GitHub
32ba17a4 f83335f1

+46 -44
+46 -44
src/screens/PostThread/components/ThreadItemAnchor.tsx
··· 319 319 live={live} 320 320 onBeforePress={onOpenAuthor} 321 321 /> 322 - <ProfileHoverCard did={post.author.did}> 323 - <View style={[a.flex_1]}> 324 - <View style={[a.flex_row, a.align_center]}> 325 - <Link 326 - to={authorHref} 327 - style={[a.flex_shrink]} 328 - label={sanitizeDisplayName( 329 - post.author.displayName || 330 - sanitizeHandle(post.author.handle), 331 - moderation.ui('displayName'), 332 - )} 333 - onPress={onOpenAuthor}> 334 - <Text 335 - emoji 336 - style={[ 337 - a.text_lg, 338 - a.font_bold, 339 - a.leading_snug, 340 - a.self_start, 341 - ]} 342 - numberOfLines={1}> 343 - {sanitizeDisplayName( 322 + <View style={[a.flex_1, a.align_start]}> 323 + <ProfileHoverCard did={post.author.did}> 324 + <View style={[a.flex_1]}> 325 + <View style={[a.flex_row, a.align_center]}> 326 + <Link 327 + to={authorHref} 328 + style={[a.flex_shrink]} 329 + label={sanitizeDisplayName( 344 330 post.author.displayName || 345 331 sanitizeHandle(post.author.handle), 346 332 moderation.ui('displayName'), 347 333 )} 348 - </Text> 349 - </Link> 334 + onPress={onOpenAuthor}> 335 + <Text 336 + emoji 337 + style={[ 338 + a.text_lg, 339 + a.font_bold, 340 + a.leading_snug, 341 + a.self_start, 342 + ]} 343 + numberOfLines={1}> 344 + {sanitizeDisplayName( 345 + post.author.displayName || 346 + sanitizeHandle(post.author.handle), 347 + moderation.ui('displayName'), 348 + )} 349 + </Text> 350 + </Link> 350 351 351 - <View style={[{paddingLeft: 3, top: -1}]}> 352 - <VerificationCheckButton profile={authorShadow} size="md" /> 352 + <View style={[{paddingLeft: 3, top: -1}]}> 353 + <VerificationCheckButton profile={authorShadow} size="md" /> 354 + </View> 355 + </View> 356 + <View style={[a.align_start]}> 357 + <Link 358 + style={[a.flex_shrink]} 359 + to={authorHref} 360 + label={sanitizeHandle(post.author.handle, '@')}> 361 + <Text 362 + style={[ 363 + a.text_md, 364 + a.leading_snug, 365 + t.atoms.text_contrast_medium, 366 + ]} 367 + numberOfLines={1}> 368 + {sanitizeHandle(post.author.handle, '@')} 369 + </Text> 370 + </Link> 353 371 </View> 354 372 </View> 355 - <View style={[a.align_start]}> 356 - <Link 357 - style={[a.flex_shrink]} 358 - to={authorHref} 359 - label={sanitizeHandle(post.author.handle, '@')}> 360 - <Text 361 - style={[ 362 - a.text_md, 363 - a.leading_snug, 364 - t.atoms.text_contrast_medium, 365 - ]} 366 - numberOfLines={1}> 367 - {sanitizeHandle(post.author.handle, '@')} 368 - </Text> 369 - </Link> 370 - </View> 371 - </View> 372 - </ProfileHoverCard> 373 + </ProfileHoverCard> 374 + </View> 373 375 {showFollowButton && ( 374 376 <View> 375 377 <PostThreadFollowBtn did={post.author.did} />