fix aside menu in editor (#201)
This commit is contained in:
parent
39e27cc307
commit
dacbaba151
|
@ -217,10 +217,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.wrapperTableOfContents {
|
.wrapperTableOfContents {
|
||||||
position: sticky;
|
position: fixed;
|
||||||
left: 0;
|
left: 40px;
|
||||||
top: 0;
|
top: 100px;
|
||||||
margin-bottom: -157px;
|
|
||||||
width: 240px;
|
width: 240px;
|
||||||
padding-top: 100px;
|
padding-top: 100px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -249,7 +249,6 @@ export const EditView = (props: Props) => {
|
||||||
|
|
||||||
<AutoSaveNotice active={saving()} />
|
<AutoSaveNotice active={saving()} />
|
||||||
|
|
||||||
<div class="position-relative">
|
|
||||||
<div class={styles.wrapperTableOfContents}>
|
<div class={styles.wrapperTableOfContents}>
|
||||||
<Show when={isDesktop() && form.body}>
|
<Show when={isDesktop() && form.body}>
|
||||||
<TableOfContents variant="editor" parentSelector="#editorBody" body={form.body} />
|
<TableOfContents variant="editor" parentSelector="#editorBody" body={form.body} />
|
||||||
|
@ -409,7 +408,6 @@ export const EditView = (props: Props) => {
|
||||||
/>
|
/>
|
||||||
</Show>
|
</Show>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<Show when={page().route === 'editSettings'}>
|
<Show when={page().route === 'editSettings'}>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user