remove position-relative in Editor (#153)

This commit is contained in:
Ilya Y 2023-08-01 13:26:45 +03:00 committed by GitHub
parent b5c8f1d60a
commit 8086a54d81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -250,7 +250,7 @@ export const Editor = (props: Props) => {
}) })
return ( return (
<div class="position-relative"> <>
<div ref={(el) => (editorElRef.current = el)} id="editorBody" /> <div ref={(el) => (editorElRef.current = el)} id="editorBody" />
<Show when={isDesktop() && html()}> <Show when={isDesktop() && html()}>
<TableOfContents variant="editor" parentSelector="#editorBody" /> <TableOfContents variant="editor" parentSelector="#editorBody" />
@ -279,6 +279,6 @@ export const Editor = (props: Props) => {
}} }}
/> />
<EditorFloatingMenu editor={editor()} ref={(el) => (floatingMenuRef.current = el)} /> <EditorFloatingMenu editor={editor()} ref={(el) => (floatingMenuRef.current = el)} />
</div> </>
) )
} }