tiptap: update padding-bottom

pull/64/head
fantasticit 2022-06-02 23:33:08 +08:00
parent c4dfe1155d
commit a8985ae76f
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ export const EditorInstance = forwardRef((props: IProps, ref) => {
}}
>
<div className={cls(styles.contentWrap, editorWrapClassNames)}>
<div style={{ fontSize, paddingBottom: 96 }}>
<div style={{ fontSize, paddingBottom: editable ? 96 : 24 }}>
<EditorContent editor={editor} />
</div>
{!editable && !hideComment && (