From f61748565f31722cb2ea71ee6451b3a8a577cafd Mon Sep 17 00:00:00 2001 From: Tristan Yang Date: Wed, 22 Feb 2023 21:02:31 +0800 Subject: [PATCH] chore: updates --- src/common/component/User/index.tsx | 2 +- src/routes/chat/GuestBlankPlaceholder.tsx | 2 +- src/routes/chat/Layout/index.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/component/User/index.tsx b/src/common/component/User/index.tsx index 691ff4ae..6288f491 100644 --- a/src/common/component/User/index.tsx +++ b/src/common/component/User/index.tsx @@ -43,7 +43,7 @@ const User: FC = ({ }; if (!curr) return null; const online = curr.online || curr.uid == loginUid; - const containerClass = clsx(`relative flex items-center justify-start gap-2 rounded-lg select-none `, interactive && "md:hover:bg-gray-500/10", compact ? "p-0" : "p-2"); + const containerClass = clsx(`relative flex items-center justify-start gap-2 rounded-lg select-none`, interactive && "md:hover:bg-gray-500/10", compact ? "p-0" : "p-2"); const nameClass = clsx(`text-sm text-gray-500 max-w-[190px] truncate font-semibold dark:text-white`); const statusClass = clsx(`absolute -bottom-0.5 -right-1.5 w-3 h-3 box-content rounded-full border-[2px] border-solid border-white dark:border-gray-300`, online ? "bg-green-500" : "bg-zinc-400", diff --git a/src/routes/chat/GuestBlankPlaceholder.tsx b/src/routes/chat/GuestBlankPlaceholder.tsx index 9c1cd047..bead7024 100644 --- a/src/routes/chat/GuestBlankPlaceholder.tsx +++ b/src/routes/chat/GuestBlankPlaceholder.tsx @@ -26,7 +26,7 @@ const GuestBlankPlaceholder = () => {
{t("guest_login_tip")}
- +
diff --git a/src/routes/chat/Layout/index.tsx b/src/routes/chat/Layout/index.tsx index 119d1d77..1f85e668 100644 --- a/src/routes/chat/Layout/index.tsx +++ b/src/routes/chat/Layout/index.tsx @@ -130,7 +130,7 @@ const Layout: FC = ({ - {aside && } + {aside && } {users &&
{users}
} {!readonly && isActive && (