remove position-relative in Editor (#153)
This commit is contained in:
parent
b5c8f1d60a
commit
8086a54d81
|
@ -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>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user