fixed nesting ul files issue

This commit is contained in:
Heydon Pickering 2017-07-16 23:03:03 +01:00
parent 902d42fb47
commit db59e0a845
5 changed files with 7 additions and 3 deletions

View File

@ -40,6 +40,8 @@ This is drawn in the following fashion, but preserves the underlying nested list
* Level 3 file
* Level 3 file
* Level 3 file
* Level 2 file
* Level 1 file
{{% /fileTree %}}
{{% warning %}}

View File

@ -638,7 +638,7 @@ pre[class*=language-] code * {
overflow: hidden;
}
.file-tree li:not(:last-child) ul::before {
.file-tree li:not(:last-child) > ul::before {
content: '\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020';
position: absolute;
left: 0;

View File

@ -333,7 +333,9 @@
<li>Level 3 file</li>
<li>Level 3 file</li>
</ul></li>
<li>Level 2 file</li>
</ul></li>
<li>Level 1 file</li>
</ul>
</div>

File diff suppressed because one or more lines are too long

View File

@ -638,7 +638,7 @@ pre[class*=language-] code * {
overflow: hidden;
}
.file-tree li:not(:last-child) ul::before {
.file-tree li:not(:last-child) > ul::before {
content: '\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020\2502\0020';
position: absolute;
left: 0;