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): reserve space for the editor scrollbar (#5625)

JimmFlya7e8664959eb
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 aebb2b74f6..4280c62b2c 100644
--- a/packages/frontend/core/src/components/page-detail-editor.css.ts
+++ b/packages/frontend/core/src/components/page-detail-editor.css.ts
@@ -18,6 +18,8 @@ export const editor = style({
globalStyle(`${editor} .affine-doc-viewport`, {
paddingBottom: '150px',
+ paddingLeft: '20px',
+ scrollbarGutter: 'stable',
});
globalStyle('.is-public-page page-meta-tags', {