update avatar style

This commit is contained in:
Tom (plebeius.eth)
2024-07-22 16:52:13 +02:00
parent ddb462b95e
commit 7646402ca4
3 changed files with 22 additions and 13 deletions
+3 -3
View File
@@ -102,9 +102,9 @@ const PostInfo = ({ openReplyModal, post, postReplyCount = 0, roles, isHidden }:
{!(isDescription || isRules) && (
<>
{isReply && author?.avatar && (
<>
<span className={styles.authorAvatar} style={{ backgroundImage: `url(${avatarImageUrl})` }} />{' '}
</>
<span className={styles.authorAvatar}>
<img src={avatarImageUrl} alt='' />
</span>
)}
(u/
<Tooltip
+3 -3
View File
@@ -75,9 +75,9 @@ const PostInfoAndMedia = ({ openReplyModal, post, postReplyCount = 0, roles }: P
{!(isDescription || isRules) && (
<>
{isReply && author?.avatar && (
<>
<span className={styles.authorAvatar} style={{ backgroundImage: `url(${avatarImageUrl})` }} />{' '}
</>
<span className={styles.authorAvatar}>
<img src={avatarImageUrl} alt='' />
</span>
)}
(u/
<Tooltip