mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
update avatar style
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user