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: invisible button should not be interactive (#5017)

Peng Xiao615255706d90
diff --git a/packages/frontend/core/src/pages/workspace/all-page.css.ts b/packages/frontend/core/src/pages/workspace/all-page.css.ts
index 31761789af..32ecc9f4c4 100644
--- a/packages/frontend/core/src/pages/workspace/all-page.css.ts
+++ b/packages/frontend/core/src/pages/workspace/all-page.css.ts
@@ -65,4 +65,5 @@ export const newPageButtonLabel = style({
export const headerCreateNewButtonHidden = style({
opacity: 0,
+ pointerEvents: 'none',
});