From e43cd2d989bd564fa983ad0a28369345e20855d7 Mon Sep 17 00:00:00 2001 From: Mario Pietsch Date: Thu, 28 Mar 2024 20:29:16 +0100 Subject: [PATCH] Use v5.3.x syntax for $:/core/ui/PageTemplate/pagecontrols (#8088) --- core/ui/PageControls.tid | 16 +++++++--------- themes/tiddlywiki/vanilla/base.tid | 1 + 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/core/ui/PageControls.tid b/core/ui/PageControls.tid index 2b579050c..833b4cbcb 100644 --- a/core/ui/PageControls.tid +++ b/core/ui/PageControls.tid @@ -1,16 +1,14 @@ title: $:/core/ui/PageTemplate/pagecontrols \whitespace trim -\define config-title() $:/config/PageControlButtons/Visibility/$(listItem)$ +\function config-title() [[$:/config/PageControlButtons/Visibility/$(listItem)$]substitute[]]
<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem"> - <$set name="hidden" value=<>> - <$list filter="[!text[hide]]" storyview="pop" variable="ignore"> - <$set name="tv-config-toolbar-class" filter="[] [encodeuricomponent[]addprefix[tc-btn-]]"> - <$transclude tiddler=<> mode="inline"/> - - - + <$list filter="[!text[hide]]" storyview="pop" variable="ignore"> + <$let tv-config-toolbar-class={{{ [enlist] [encodeuricomponent[]addprefix[tc-btn-]] +[join[ ]] }}}> + <$transclude $tiddler=<> $mode="inline"/> + + -
+ \ No newline at end of file diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index 5b19dd61f..69ba8e680 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -931,6 +931,7 @@ button.tc-btn-invisible.tc-remove-tag-button { .tc-page-controls { margin-top: 14px; + margin-bottom: 14px; font-size: 1.5em; }