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.

fix: create page button offset issue on non-windows desktop app (#5669)

Peng Xiaoc2a978f0f228
diff --git a/packages/frontend/core/src/pages/workspace/all-page/all-page.tsx b/packages/frontend/core/src/pages/workspace/all-page/all-page.tsx
index 11cd36e6f5..5aff78bb27 100644
--- a/packages/frontend/core/src/pages/workspace/all-page/all-page.tsx
+++ b/packages/frontend/core/src/pages/workspace/all-page/all-page.tsx
@@ -230,7 +230,7 @@ const AllPageHeader = ({
/>
}
right={
- <div className={styles.headerRightWindows}>
+ <div className={clsx(isWindowsDesktop && styles.headerRightWindows)}>
<NewPageButton
size="small"
className={clsx(