chore: tweaks

This commit is contained in:
Tristan Yang
2023-03-16 17:38:35 +08:00
parent a5f520dd36
commit 5726dcd239
4 changed files with 8 additions and 9 deletions
+2 -2
View File
@@ -25,8 +25,8 @@ const InviteModal: FC<Props> = ({ type = "server", cid, title = "", closeModal }
const finalTitle = type == "server" ? server.name : `#${title || channel?.name}`;
return (
<Modal>
<div className="flex flex-col bg-white dark:bg-gray-900 rounded-lg p-4 md:min-w-[408px]">
<h2 className="flex items-center justify-between text-lg text-gray-700 dark:text-gray-50 ">
<div className="flex flex-col bg-white dark:bg-gray-900 rounded-lg p-4 max-h-[85vh] overflow-y-scroll md:min-w-[408px] relative">
<h2 className="flex items-center justify-between text-lg text-gray-700 dark:text-gray-50">
{t("invite_title", { name: finalTitle })}
<CloseIcon className="cursor-pointer dark:fill-white" onClick={closeModal} />
</h2>