diff --git a/packages/frontend/core/src/components/blocksuite/block-suite-editor/lit-adaper.tsx b/packages/frontend/core/src/components/blocksuite/block-suite-editor/lit-adaper.tsx index 2fe32512cc607..b086590701a6d 100644 --- a/packages/frontend/core/src/components/blocksuite/block-suite-editor/lit-adaper.tsx +++ b/packages/frontend/core/src/components/blocksuite/block-suite-editor/lit-adaper.tsx @@ -103,8 +103,8 @@ export const BlocksuiteDocEditor = forwardRef< }, []); return ( -
-
+ <> +
{!isJournal ? ( ) : ( @@ -133,7 +133,7 @@ export const BlocksuiteDocEditor = forwardRef< {portals.map(p => ( {p.portal} ))} -
+ ); }); 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 f7aa429c49bc1..0ce7bae88acff 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 @@ -8,7 +8,7 @@ export const docEditorRoot = style({ export const affineDocViewport = style({ display: 'flex', flexDirection: 'column', - paddingBottom: '150px', + paddingBottom: '100px', }); export const docContainer = style({ 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 13f9aab604dc6..0bd535d4d88af 100644 --- a/packages/frontend/core/src/components/page-detail-editor.css.ts +++ b/packages/frontend/core/src/components/page-detail-editor.css.ts @@ -25,6 +25,6 @@ export const editor = style({ globalStyle( `${editor} .affine-page-viewport:not(.affine-embed-synced-doc-editor)`, { - paddingBottom: '150px', + paddingBottom: '100px', } );