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(core): unable to create blank lines correctly (#7032)

JimmFly2d2a84927d21
diff --git a/packages/frontend/core/src/components/blocksuite/block-suite-editor/styles.css.ts b/packages/frontend/core/src/components/blocksuite/block-suite-editor/styles.css.ts
index 0ce7bae88a..7113273f81 100644
--- a/packages/frontend/core/src/components/blocksuite/block-suite-editor/styles.css.ts
+++ b/packages/frontend/core/src/components/blocksuite/block-suite-editor/styles.css.ts
@@ -13,7 +13,6 @@ export const affineDocViewport = style({
export const docContainer = style({
display: 'block',
- flexGrow: 1,
});
export const docEditorGap = style({
@@ -23,6 +22,7 @@ export const docEditorGap = style({
paddingTop: 50,
paddingBottom: 50,
cursor: 'text',
+ flexGrow: 1,
});
const titleTagBasic = style({