mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-11-14 09:27:55 +00:00
fix: adjust editor's margin bottom (#6371)
This commit is contained in:
parent
164933325c
commit
e01a59c772
@ -46,7 +46,7 @@ export const Document = ({
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
minHeight: `calc(100vh - 48px)`,
|
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} />
|
<ViewMetaPreview {...viewMeta} />
|
||||||
<Suspense fallback={<EditorSkeleton />}>
|
<Suspense fallback={<EditorSkeleton />}>
|
||||||
|
|||||||
@ -28,7 +28,7 @@ const EditorEditable = ({ editor }: { editor: ReactEditor }) => {
|
|||||||
|
|
||||||
return decoration || [];
|
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}
|
renderLeaf={Leaf}
|
||||||
renderElement={renderElement}
|
renderElement={renderElement}
|
||||||
readOnly={readOnly}
|
readOnly={readOnly}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user