mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-09-19 00:00:43 +00:00
Indentation for palette switcher
This commit is contained in:
@@ -2,21 +2,21 @@ title: $:/snippets/paletteswitcher
|
|||||||
|
|
||||||
\whitespace trim
|
\whitespace trim
|
||||||
<$linkcatcher to="$:/palette">
|
<$linkcatcher to="$:/palette">
|
||||||
<div class="tc-chooser tc-chooser-cards">
|
<div class="tc-chooser tc-chooser-cards">
|
||||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Palette]sort[name]]">
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Palette]sort[name]]">
|
||||||
<$set name="cls" filter="[all[current]prefix{$:/palette}]" value="tc-chooser-item tc-chosen" emptyValue="tc-chooser-item">
|
<$set name="cls" filter="[all[current]prefix{$:/palette}]" value="tc-chooser-item tc-chosen" emptyValue="tc-chooser-item">
|
||||||
<div class=<<cls>>>
|
<div class=<<cls>>>
|
||||||
<$link to={{!!title}}>
|
<$link to={{!!title}}>
|
||||||
{{||$:/snippets/currpalettepreview}}
|
{{||$:/snippets/currpalettepreview}}
|
||||||
<div class="tc-chooser-item-description">
|
<div class="tc-chooser-item-description">
|
||||||
''<$view field="name" format="text"/>''
|
''<$view field="name" format="text"/>''
|
||||||
<div class="tc-chooser-item-subtitle">
|
<div class="tc-chooser-item-subtitle">
|
||||||
<$view field="description" format="text"/>
|
<$view field="description" format="text"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</$link>
|
</$link>
|
||||||
</div>
|
</div>
|
||||||
</$set>
|
</$set>
|
||||||
</$list>
|
</$list>
|
||||||
</div>
|
</div>
|
||||||
</$linkcatcher>
|
</$linkcatcher>
|
||||||
|
|||||||
Reference in New Issue
Block a user