Reduce avatar size in posts

This commit is contained in:
Eric Bailey
2024-09-03 16:29:31 -05:00
parent e4187d4309
commit 74b736c727
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -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={
+1 -1
View File
@@ -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'}
+1 -1
View File
@@ -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'}