Indentation for palette switcher

This commit is contained in:
Jeremy Ruston
2024-11-04 18:12:00 +00:00
parent 81b7bb4124
commit ff5c846130
+17 -17
View File
@@ -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>