diff options
author | Eric Bailey <git@esb.lol> | 2024-09-24 20:10:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 20:10:13 -0500 |
commit | b38d4697b7a42a5e4c48d86a6528a20ace9c034e (patch) | |
tree | d8f28c858044d45a15aaab741b668e38f8353528 /src/view/com/posts/FeedItem.tsx | |
parent | 2429d5d1ae51fa21d46970263fa581fd2eb19cdd (diff) | |
download | voidsky-b38d4697b7a42a5e4c48d86a6528a20ace9c034e.tar.zst |
[Neue] Post avi, `PostMeta` cleanup (#5450)
* Support emoji in text with custom font * Add emoji support to elements that need it * Remove unused file causing lint failure * Add web only link variant * Refactor PostMeta * Reduce avi size in feeds * Fix alignment, emoji, in PostMeta * Smaller avis in notifications * Shrink post placeholder avi * Handle the handle again * Link cleanup * Cleanup unused props * Fix text wrapping in timestamp * Fix underline color * Tighten up spacing * Web only whiteSpace
Diffstat (limited to 'src/view/com/posts/FeedItem.tsx')
-rw-r--r-- | src/view/com/posts/FeedItem.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/view/com/posts/FeedItem.tsx b/src/view/com/posts/FeedItem.tsx index b1509b271..fb9cdb065 100644 --- a/src/view/com/posts/FeedItem.tsx +++ b/src/view/com/posts/FeedItem.tsx @@ -245,7 +245,7 @@ let FeedItemInner = ({ onBeforePress={onBeforePress} dataSet={{feedContext}}> <View style={{flexDirection: 'row', gap: 10, paddingLeft: 8}}> - <View style={{width: 52}}> + <View style={{width: 42}}> {isThreadChild && ( <View style={[ @@ -345,7 +345,7 @@ let FeedItemInner = ({ <View style={styles.layoutAvi}> <AviFollowButton author={post.author} moderation={moderation}> <PreviewableUserAvatar - size={52} + size={42} profile={post.author} moderation={moderation.ui('avatar')} type={post.author.associated?.labeler ? 'labeler' : 'user'} @@ -369,7 +369,6 @@ let FeedItemInner = ({ <PostMeta author={post.author} moderation={moderation} - authorHasWarning={!!post.author.labels?.length} timestamp={post.indexedAt} postHref={href} onOpenAuthor={onOpenAuthor} |