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
+8 -1
View File
@@ -117,7 +117,14 @@ const Session: FC<IProps> = ({
{type == "user" ? (
<User avatarSize={40} compact interactive={false} uid={id} />
) : (
<Avatar className="icon" type="channel" name={name} src={icon} />
<Avatar
width={40}
height={40}
className="icon"
type="channel"
name={name}
src={icon}
/>
)}
</div>
<div className="details">