fix: session avatar shrink

This commit is contained in:
Tristan Yang
2023-03-01 09:52:47 +08:00
parent 910d8c68d1
commit be69a9bdac
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ const Session: FC<IProps> = ({
to={type == "user" ? `/chat/dm/${id}` : `/chat/channel/${id}`}
onContextMenu={handleContextMenuEvent}
>
<div className="flex bg-slate-50 rounded-full">
<div className="flex shrink-0 w-10 h-10 bg-slate-50 rounded-full overflow-hidden">
{type == "user" ? (
<User avatarSize={40} compact interactive={false} uid={id} />
) : (