Reduce avatar size in posts
This commit is contained in:
@@ -297,7 +297,7 @@ let PostThreadItemLoaded = ({
|
|||||||
<View style={[styles.layout]}>
|
<View style={[styles.layout]}>
|
||||||
<View style={[styles.layoutAvi, {paddingBottom: 8}]}>
|
<View style={[styles.layoutAvi, {paddingBottom: 8}]}>
|
||||||
<PreviewableUserAvatar
|
<PreviewableUserAvatar
|
||||||
size={42}
|
size={40}
|
||||||
profile={post.author}
|
profile={post.author}
|
||||||
moderation={moderation.ui('avatar')}
|
moderation={moderation.ui('avatar')}
|
||||||
type={post.author.associated?.labeler ? 'labeler' : 'user'}
|
type={post.author.associated?.labeler ? 'labeler' : 'user'}
|
||||||
@@ -519,7 +519,7 @@ let PostThreadItemLoaded = ({
|
|||||||
{!isThreadedChild && (
|
{!isThreadedChild && (
|
||||||
<View style={styles.layoutAvi}>
|
<View style={styles.layoutAvi}>
|
||||||
<PreviewableUserAvatar
|
<PreviewableUserAvatar
|
||||||
size={38}
|
size={40}
|
||||||
profile={post.author}
|
profile={post.author}
|
||||||
moderation={moderation.ui('avatar')}
|
moderation={moderation.ui('avatar')}
|
||||||
type={post.author.associated?.labeler ? 'labeler' : 'user'}
|
type={post.author.associated?.labeler ? 'labeler' : 'user'}
|
||||||
@@ -554,7 +554,7 @@ let PostThreadItemLoaded = ({
|
|||||||
postHref={postHref}
|
postHref={postHref}
|
||||||
showAvatar={isThreadedChild}
|
showAvatar={isThreadedChild}
|
||||||
avatarModeration={moderation.ui('avatar')}
|
avatarModeration={moderation.ui('avatar')}
|
||||||
avatarSize={28}
|
avatarSize={24}
|
||||||
displayNameType="md-bold"
|
displayNameType="md-bold"
|
||||||
displayNameStyle={isThreadedChild && s.ml2}
|
displayNameStyle={isThreadedChild && s.ml2}
|
||||||
style={
|
style={
|
||||||
|
|||||||
@@ -163,7 +163,7 @@ function PostInner({
|
|||||||
<View style={styles.layoutAvi}>
|
<View style={styles.layoutAvi}>
|
||||||
<AviFollowButton author={post.author} moderation={moderation}>
|
<AviFollowButton author={post.author} moderation={moderation}>
|
||||||
<PreviewableUserAvatar
|
<PreviewableUserAvatar
|
||||||
size={52}
|
size={40}
|
||||||
profile={post.author}
|
profile={post.author}
|
||||||
moderation={moderation.ui('avatar')}
|
moderation={moderation.ui('avatar')}
|
||||||
type={post.author.associated?.labeler ? 'labeler' : 'user'}
|
type={post.author.associated?.labeler ? 'labeler' : 'user'}
|
||||||
|
|||||||
@@ -339,7 +339,7 @@ let FeedItemInner = ({
|
|||||||
<View style={styles.layoutAvi}>
|
<View style={styles.layoutAvi}>
|
||||||
<AviFollowButton author={post.author} moderation={moderation}>
|
<AviFollowButton author={post.author} moderation={moderation}>
|
||||||
<PreviewableUserAvatar
|
<PreviewableUserAvatar
|
||||||
size={52}
|
size={40}
|
||||||
profile={post.author}
|
profile={post.author}
|
||||||
moderation={moderation.ui('avatar')}
|
moderation={moderation.ui('avatar')}
|
||||||
type={post.author.associated?.labeler ? 'labeler' : 'user'}
|
type={post.author.associated?.labeler ? 'labeler' : 'user'}
|
||||||
|
|||||||
Reference in New Issue
Block a user