1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-16 06:44:50 +00:00

Expose custom tour settings

This commit is contained in:
Jeremy Ruston 2023-10-05 13:40:33 +01:00
parent 0213f1ab8f
commit aa3f931721
2 changed files with 14 additions and 0 deletions

View File

@ -90,6 +90,14 @@ Select a tour:
</tr> </tr>
</tbody> </tbody>
</table> </table>
<$list filter="[<currentTour>has[settings]]" variable="ignore">
<p>
Custom tour settings:
</p>
<div class="tc-tour-settings-tour-settings">
<$transclude $tiddler={{{ [<currentTour>get[settings]] }}}/>
</div>
</$list>
<p> <p>
<<button-expand-collapse-all "Expand All" "show">> <<button-expand-collapse-all "Expand All" "show">>
<<button-expand-collapse-all "Collapse All" "hide">> <<button-expand-collapse-all "Collapse All" "hide">>

View File

@ -157,6 +157,12 @@ tags: $:/tags/Stylesheet
max-height: 100px; max-height: 100px;
} }
.tc-tour-settings-tour-settings {
border: 1px solid <<colour muted-foreground>>;
margin: 0.5em 0;
padding: 0.5em;
}
.tc-tour-settings-tour-step { .tc-tour-settings-tour-step {
border: 1px solid <<colour foreground>>; border: 1px solid <<colour foreground>>;
} }