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: remove useless padding css style (#7274)

akumatus9746ddb5e0b1
diff --git a/packages/frontend/core/src/components/page-detail-editor.css.ts b/packages/frontend/core/src/components/page-detail-editor.css.ts
index 0bd535d4d8..c71f70ddda 100644
--- a/packages/frontend/core/src/components/page-detail-editor.css.ts
+++ b/packages/frontend/core/src/components/page-detail-editor.css.ts
@@ -1,4 +1,4 @@
-import { globalStyle, style } from '@vanilla-extract/css';
+import { style } from '@vanilla-extract/css';
export const editor = style({
flex: 1,
selectors: {
@@ -22,9 +22,3 @@ export const editor = style({
},
},
});
-globalStyle(
- `${editor} .affine-page-viewport:not(.affine-embed-synced-doc-editor)`,
- {
- paddingBottom: '100px',
- }
-);