chore: add image size

This commit is contained in:
hdsuperman
2022-12-22 22:05:21 +08:00
parent b374bc7ddd
commit f4fbc7adbd
11 changed files with 61 additions and 18 deletions
@@ -19,7 +19,7 @@ const PreviewMessage: FC<Props> = ({ mid = 0 }) => {
return (
<StyledWrapper className={`preview`}>
<div className="avatar">
<Avatar src={avatar} name={name} />
<Avatar width={40} height={40} src={avatar} name={name} />
</div>
<div className="details">
<div className="up">