mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-04-13 22:33:18 +00:00
Indentation for palette switcher
This commit is contained in:
parent
81b7bb4124
commit
ff5c846130
@ -2,21 +2,21 @@ title: $:/snippets/paletteswitcher
|
||||
|
||||
\whitespace trim
|
||||
<$linkcatcher to="$:/palette">
|
||||
<div class="tc-chooser tc-chooser-cards">
|
||||
<$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">
|
||||
<div class=<<cls>>>
|
||||
<$link to={{!!title}}>
|
||||
{{||$:/snippets/currpalettepreview}}
|
||||
<div class="tc-chooser-item-description">
|
||||
''<$view field="name" format="text"/>''
|
||||
<div class="tc-chooser-item-subtitle">
|
||||
<$view field="description" format="text"/>
|
||||
</div>
|
||||
</div>
|
||||
</$link>
|
||||
</div>
|
||||
</$set>
|
||||
</$list>
|
||||
</div>
|
||||
<div class="tc-chooser tc-chooser-cards">
|
||||
<$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">
|
||||
<div class=<<cls>>>
|
||||
<$link to={{!!title}}>
|
||||
{{||$:/snippets/currpalettepreview}}
|
||||
<div class="tc-chooser-item-description">
|
||||
''<$view field="name" format="text"/>''
|
||||
<div class="tc-chooser-item-subtitle">
|
||||
<$view field="description" format="text"/>
|
||||
</div>
|
||||
</div>
|
||||
</$link>
|
||||
</div>
|
||||
</$set>
|
||||
</$list>
|
||||
</div>
|
||||
</$linkcatcher>
|
||||
|
Loading…
x
Reference in New Issue
Block a user