Improve the visual clarity of labels on profiles and posts (#4262)
* Update PostAlerts rendering to show the avi of the labeler rather than the display name; also add size variations * Update ProfileHeaderAlerts to match PostAlerts behavior
This commit is contained in:
parent
4cc55f05c2
commit
5fe1e171f0
5 changed files with 67 additions and 24 deletions
|
@ -316,6 +316,7 @@ let PostThreadItemLoaded = ({
|
|||
childContainerStyle={styles.contentHiderChild}>
|
||||
<PostAlerts
|
||||
modui={moderation.ui('contentView')}
|
||||
size="large"
|
||||
includeMute
|
||||
style={[a.pt_2xs, a.pb_sm]}
|
||||
/>
|
||||
|
@ -517,7 +518,7 @@ let PostThreadItemLoaded = ({
|
|||
<LabelsOnMyPost post={post} />
|
||||
<PostAlerts
|
||||
modui={moderation.ui('contentList')}
|
||||
style={[a.pt_xs, a.pb_sm]}
|
||||
style={[a.pt_2xs, a.pb_2xs]}
|
||||
/>
|
||||
{richText?.text ? (
|
||||
<View style={styles.postTextContainer}>
|
||||
|
|
|
@ -368,7 +368,7 @@ let PostContent = ({
|
|||
modui={moderation.ui('contentList')}
|
||||
ignoreMute
|
||||
childContainerStyle={styles.contentHiderChild}>
|
||||
<PostAlerts modui={moderation.ui('contentList')} style={[a.pb_xs]} />
|
||||
<PostAlerts modui={moderation.ui('contentList')} style={[a.py_2xs]} />
|
||||
{richText.text ? (
|
||||
<View style={styles.postTextContainer}>
|
||||
<RichText
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue