diff --git a/core/wiki/macros/toc.tid b/core/wiki/macros/toc.tid index ca5df085b..7d1403907 100644 --- a/core/wiki/macros/toc.tid +++ b/core/wiki/macros/toc.tid @@ -27,7 +27,7 @@ The very first toc macro is _not_ reused. So it can be used as a simple referenc <$let tv-wikilinks="no" field={{{ [] :cascade[<_hasItemTemplate>append<_hasCaptionField>append<_hasCaption>append[title]] }}} > - ] }}} > @@ -38,7 +38,7 @@ The very first toc macro is _not_ reused. So it can be used as a simple referenc \function tf.toc-getItemTemplateTitle() [get[toc-itemTemplate]] :filter[has[text]] :else[has[text]then] @@ -200,7 +200,7 @@ v5.3.4 itemClassFilter has been replaced by tf.toc-itemClassFilter see: tf.toc-i \procedure toc-item(isUnlinked:"") <% if [get[text]else[close]match[close]] %> - <$button actions=<> setTitle=<> setTo="open" class="tc-btn-invisible"> + <$button actions=<> setTitle=<> setTo="open" class="tc-btn-invisible tc-tiny-gap-right"> <$transclude tiddler=<> /> <% if [match[yes]] %> <<_itemTemplate>> @@ -208,7 +208,7 @@ v5.3.4 itemClassFilter has been replaced by tf.toc-itemClassFilter see: tf.toc-i <% elseif [get[text]match[open]] %> - <$button actions=<> setTitle=<> setTo="close" class="tc-btn-invisible"> + <$button actions=<> setTitle=<> setTo="close" class="tc-btn-invisible tc-tiny-gap-right"> <$transclude tiddler=<> /> <% if [match[yes]] %> <<_itemTemplate>> @@ -298,7 +298,7 @@ Shows an expandable toc. Item always have an open/close chevron <% if [subfilter] [subfilter] -[] -[subfilter] +[limit[1]] %> <> <% else %> - <$button class='tc-btn-invisible' tabindex="-1"> + <$button class='tc-btn-invisible tc-tiny-gap-right' tabindex="-1"> {{$:/core/images/blank}} <% endif %> @@ -334,7 +334,7 @@ Shows an expandable toc. Item always have an open/close chevron <% if [subfilter] [subfilter] -[] -[subfilter] +[limit[1]] %> <> <% else %> - <$button class="tc-btn-invisible"> + <$button class="tc-btn-invisible tc-tiny-gap-right"> {{$:/core/images/blank}}