1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-18 03:19:55 +00:00

Fix indentation of selective expandable TOC

Fixing #768
This commit is contained in:
Jermolene 2014-09-01 21:27:28 +01:00
parent 2f6d16b0fa
commit 44228ed9f7
2 changed files with 5 additions and 1 deletions

4
core/images/blank.tid Normal file
View File

@ -0,0 +1,4 @@
title: $:/core/images/blank
tags: $:/tags/Image
<svg class="tc-image-blank tc-image-button" viewBox="63 152 64 64" width="22pt" height="22pt"></svg>

View File

@ -53,7 +53,7 @@ tags: $:/tags/Macro
<$set name="toc-state" value=<<qualify "$:/state/toc/$tag$-$(currentTiddler)$">>>
<li>
<$link>
<$list filter="[all[current]tagging[]limit[1]]">
<$list filter="[all[current]tagging[]limit[1]]" emptyMessage="<$button class='tc-btn-invisible'>{{$:/core/images/blank}}</$button>">
<$reveal type="nomatch" state=<<toc-state>> text="open">
<$button set=<<toc-state>> setTo="open" class="tc-btn-invisible">
{{$:/core/images/right-arrow}}