[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
This commit is contained in:
Eric Bailey
2024-09-24 20:10:13 -05:00
committed by GitHub
parent 2429d5d1ae
commit b38d4697b7
10 changed files with 120 additions and 117 deletions
+2 -6
View File
@@ -558,18 +558,14 @@ let PostThreadItemLoaded = ({
<PostMeta
author={post.author}
moderation={moderation}
authorHasWarning={!!post.author.labels?.length}
timestamp={post.indexedAt}
postHref={postHref}
showAvatar={isThreadedChild}
avatarModeration={moderation.ui('avatar')}
avatarSize={28}
displayNameType="md-bold"
displayNameStyle={isThreadedChild && s.ml2}
avatarSize={24}
style={
isThreadedChild && {
alignItems: 'center',
paddingBottom: isWeb ? 5 : 2,
paddingBottom: isWeb ? 5 : 4,
}
}
/>