tiptap: update padding-bottom

This commit is contained in:
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 className={cls(styles.contentWrap, editorWrapClassNames)}>
<div style={{ fontSize, paddingBottom: 96 }}> <div style={{ fontSize, paddingBottom: editable ? 96 : 24 }}>
<EditorContent editor={editor} /> <EditorContent editor={editor} />
</div> </div>
{!editable && !hideComment && ( {!editable && !hideComment && (