mirror of
https://github.com/documize/community.git
synced 2025-07-19 21:29:42 +02:00
Indent doc sections as per hierarchy
Reflect doc structure by indenting sections as you read the document. Fixes #281.
This commit is contained in:
parent
8baad7e2f0
commit
b8fee6b962
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
||||||
onAction=(action "onSavePage")}}
|
onAction=(action "onSavePage")}}
|
||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
|
<div class={{page.tocIndentCss}}>
|
||||||
{{document/page-heading
|
{{document/page-heading
|
||||||
expanded=expanded
|
expanded=expanded
|
||||||
page=page
|
page=page
|
||||||
|
@ -39,6 +40,7 @@
|
||||||
{{section/base-renderer page=page}}
|
{{section/base-renderer page=page}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{document/section-attachment uploadLabel="Upload Attachments"
|
{{document/section-attachment uploadLabel="Upload Attachments"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue