Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

feat: allow header to be dragged in client

Lin Onetwo0240feb7f1c4
diff --git a/packages/app/src/components/Header/index.tsx b/packages/app/src/components/Header/index.tsx
index 2c2eef8484..9f7c828d67 100644
--- a/packages/app/src/components/Header/index.tsx
+++ b/packages/app/src/components/Header/index.tsx
@@ -109,7 +109,7 @@ export const Header = () => {
}
}, [editor]);
return (
- <StyledHeaderContainer hasWarning={showWarning}>
+ <StyledHeaderContainer hasWarning={showWarning} data-tauri-drag-region>
<BrowserWarning
onClose={() => {
setShowWarning(false);