mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
don't hide depth 2 when local toc tree
This commit is contained in:
parent
f97e9f3a6c
commit
bc4ef78ddb
|
@ -73,6 +73,9 @@
|
|||
li ul
|
||||
margin-bottom: 0
|
||||
display: none
|
||||
.local-toc
|
||||
li ul
|
||||
display: block
|
||||
li ul li a
|
||||
margin-bottom: 0
|
||||
color: $text-light
|
||||
|
|
|
@ -104,11 +104,11 @@
|
|||
{% set toctree = toctree(maxdepth=2, collapse=False) %}
|
||||
{% if not next and not prev %}
|
||||
<!-- Local TOC for single page -->
|
||||
{{ toc }}
|
||||
<div class="local-toc">{{ toc }}</div>
|
||||
{% elif toctree %}
|
||||
{{ toctree }}
|
||||
{% else %}
|
||||
{{ toc }}
|
||||
<div class="local-toc">{{ toc }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user