From 5726dcd2392d73d81f0bfe5614db3e03f21128ad Mon Sep 17 00:00:00 2001 From: Tristan Yang Date: Thu, 16 Mar 2023 17:38:35 +0800 Subject: [PATCH] chore: tweaks --- src/common/component/ForwardModal/index.tsx | 10 +++++----- src/common/component/InviteModal/index.tsx | 4 ++-- src/routes/chat/Layout/NewMessageBottomTip.tsx | 1 - src/routes/setting/License/index.tsx | 2 +- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/common/component/ForwardModal/index.tsx b/src/common/component/ForwardModal/index.tsx index 0f62aed8..af79d727 100644 --- a/src/common/component/ForwardModal/index.tsx +++ b/src/common/component/ForwardModal/index.tsx @@ -75,11 +75,11 @@ const ForwardModal: FC = ({ mids, closeModal }) => { (selectedChannels.length == 0 && selectedMembers.length == 0) || forwarding; return ( -
+
= ({ mids, closeModal }) => { })} {selectedMembers.map((uid) => { return ( -
  • +
  • - +
  • ); })} -
    +
    {mids.map((mid) => ( ))} diff --git a/src/common/component/InviteModal/index.tsx b/src/common/component/InviteModal/index.tsx index cb5abb7f..28303321 100644 --- a/src/common/component/InviteModal/index.tsx +++ b/src/common/component/InviteModal/index.tsx @@ -25,8 +25,8 @@ const InviteModal: FC = ({ type = "server", cid, title = "", closeModal } const finalTitle = type == "server" ? server.name : `#${title || channel?.name}`; return ( -
    -

    +
    +

    {t("invite_title", { name: finalTitle })}

    diff --git a/src/routes/chat/Layout/NewMessageBottomTip.tsx b/src/routes/chat/Layout/NewMessageBottomTip.tsx index 71b4e228..6e8557a8 100644 --- a/src/routes/chat/Layout/NewMessageBottomTip.tsx +++ b/src/routes/chat/Layout/NewMessageBottomTip.tsx @@ -43,7 +43,6 @@ const NewMessageBottomTip = ({ context, id, scrollToBottom }: Props) => { bg-gradient-to-tl from-[#3C8CE7] to-[#00EAFF]`, unreads > 0 ? "flex" : "hidden")}> - 👇 ); }; diff --git a/src/routes/setting/License/index.tsx b/src/routes/setting/License/index.tsx index b479cecd..e6ad0a93 100644 --- a/src/routes/setting/License/index.tsx +++ b/src/routes/setting/License/index.tsx @@ -47,7 +47,7 @@ export default function License() {
    - + = 999999 ? "No Limit" : licenseInfo?.user_limit} />