fix: adjust editor's margin bottom (#6371)

This commit is contained in:
Kilu.He 2024-09-21 14:39:58 +08:00 committed by GitHub
parent 164933325c
commit e01a59c772
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ export const Document = ({
<div
style={{
minHeight: `calc(100vh - 48px)`,
}} className={'mb-36 flex h-full w-full flex-col items-center'}
}} className={'flex h-full w-full flex-col items-center'}
>
<ViewMetaPreview {...viewMeta} />
<Suspense fallback={<EditorSkeleton />}>

View File

@ -28,7 +28,7 @@ const EditorEditable = ({ editor }: { editor: ReactEditor }) => {
return decoration || [];
}}
className={'outline-none w-[964px] min-w-0 max-w-full px-6 focus:outline-none'}
className={'outline-none mb-36 w-[964px] min-w-0 max-w-full px-6 focus:outline-none'}
renderLeaf={Leaf}
renderElement={renderElement}
readOnly={readOnly}