mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +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:
parent
448d108d69
commit
31b141097d
@ -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$"""/> <$view field="title" format="text" />
|
||||
<$button message="tm-remove-tag" param={{!!title}} class="tc-btn-invisible tc-remove-tag-button">×</$button>
|
||||
<$button message="tm-remove-tag" param={{!!title}} class="tc-btn-invisible tc-remove-tag-button">{{$:/core/images/close-button}}</$button>
|
||||
</span>
|
||||
</$vars>
|
||||
\end
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user