From be69a9bdacb0fda6959331ee5295525feda827ff Mon Sep 17 00:00:00 2001 From: Tristan Yang Date: Wed, 1 Mar 2023 09:52:47 +0800 Subject: [PATCH] fix: session avatar shrink --- src/routes/chat/GuestSessionList/Session.tsx | 2 +- src/routes/chat/SessionList/Session.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/chat/GuestSessionList/Session.tsx b/src/routes/chat/GuestSessionList/Session.tsx index 2aa5f4c2..f984fbcb 100644 --- a/src/routes/chat/GuestSessionList/Session.tsx +++ b/src/routes/chat/GuestSessionList/Session.tsx @@ -40,7 +40,7 @@ const Session: FC = ({ id, mid }) => { return (
  • clsx(`nav flex gap-2 rounded-lg p-2 w-full md:hover:bg-gray-500/20`, linkActive && "bg-gray-500/20")} to={`/chat/channel/${id}`}> -
    +
    diff --git a/src/routes/chat/SessionList/Session.tsx b/src/routes/chat/SessionList/Session.tsx index aaca79ea..836af2c7 100644 --- a/src/routes/chat/SessionList/Session.tsx +++ b/src/routes/chat/SessionList/Session.tsx @@ -113,7 +113,7 @@ const Session: FC = ({ to={type == "user" ? `/chat/dm/${id}` : `/chat/channel/${id}`} onContextMenu={handleContextMenuEvent} > -
    +
    {type == "user" ? ( ) : (