1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00

Tags edittemplate: replace × with svg (#3859)

* tags edittemplate: replace × with close-button svg

* make close-button smaller + v-aligned middle
This commit is contained in:
Simon Huber 2019-06-26 13:34:18 +02:00 committed by Jeremy Ruston
parent 448d108d69
commit 31b141097d
2 changed files with 6 additions and 1 deletions

View File

@ -16,7 +16,7 @@ color:$(foregroundColor)$;
<$vars foregroundColor=<<contrastcolour target:"""$colour$""" fallbackTarget:"""$fallbackTarget$""" colourA:"""$colourA$""" colourB:"""$colourB$""">> backgroundColor="""$colour$""">
<span style=<<tag-styles>> class="tc-tag-label tc-tag-list-item">
<$transclude tiddler="""$icon$"""/>&nbsp;<$view field="title" format="text" />
<$button message="tm-remove-tag" param={{!!title}} class="tc-btn-invisible tc-remove-tag-button">&times;</$button>
<$button message="tm-remove-tag" param={{!!title}} class="tc-btn-invisible tc-remove-tag-button">{{$:/core/images/close-button}}</$button>
</span>
</$vars>
\end

View File

@ -662,6 +662,11 @@ button.tc-untagged-label {
vertical-align: text-bottom;
}
.tc-edit-tags button.tc-remove-tag-button svg {
font-size: 0.7em;
vertical-align: middle;
}
.tc-tag-manager-table .tc-tag-label {
white-space: normal;
}