feat: define drag areas in electron

This commit is contained in:
Tristan Yang
2023-07-04 11:33:35 +08:00
parent 69df0ccb1d
commit 976e4ce7ed
11 changed files with 29 additions and 17 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ const BlankPlaceholder: FC<Props> = ({ type = "chat" }) => {
const chatHandler = type == "chat" ? toggleChannelModalVisible : toggleUserListVisible;
return (
<>
<div className="flex flex-col gap-8 -mt-[50px] dark:bg-gray-700">
<div className="flex flex-col gap-8 -mt-[50px] dark:bg-gray-700 app-no-drag">
<div className="flex flex-col gap-2 items-center group px-4">
<h2 className="text-center text-3xl text-slate-700 dark:text-white font-bold">
{t("title", { name: server.name })}