chore: polish UIs

This commit is contained in:
Tristan Yang
2023-04-12 21:31:19 +08:00
parent 390e2e5ac9
commit 74b700c858
3 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -118,14 +118,14 @@ const Session: FC<IProps> = ({
to={navPath}
onContextMenu={handleContextMenuEvent}
>
<div className="flex shrink-0 relative">
<div className="flex shrink-0 relative w-10 h-10">
{type == "dm" ? (
<User avatarSize={40} compact interactive={false} uid={id} />
) : (
<Avatar
width={40}
height={40}
className="icon rounded-full"
className="icon rounded-full object-cover"
type="channel"
name={name}
src={icon}