fix aside menu in editor (#201)

This commit is contained in:
Ilya Y 2023-08-31 16:41:34 +03:00 committed by GitHub
parent 39e27cc307
commit dacbaba151
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 149 additions and 152 deletions

View File

@ -217,10 +217,9 @@
}
.wrapperTableOfContents {
position: sticky;
left: 0;
top: 0;
margin-bottom: -157px;
position: fixed;
left: 40px;
top: 100px;
width: 240px;
padding-top: 100px;
}

View File

@ -249,7 +249,6 @@ export const EditView = (props: Props) => {
<AutoSaveNotice active={saving()} />
<div class="position-relative">
<div class={styles.wrapperTableOfContents}>
<Show when={isDesktop() && form.body}>
<TableOfContents variant="editor" parentSelector="#editorBody" body={form.body} />
@ -409,7 +408,6 @@ export const EditView = (props: Props) => {
/>
</Show>
</div>
</div>
</form>
</div>
<Show when={page().route === 'editSettings'}>