mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
Add delete icon for the tiddler type editor
This commit is contained in:
parent
1c283c5586
commit
d3c421985c
@ -1,7 +1,7 @@
|
||||
title: $:/core/ui/EditTemplate/type
|
||||
tags: $:/tags/EditTemplate
|
||||
|
||||
<p><em class="tw-edit">Type:</em> <$edit-text field="type" tag="input" default="" placeholder="type" focusPopup=<<qualify "$:/state/typeDropdown">> class="tw-edit-typeeditor"/> <$button popup=<<qualify "$:/state/typeDropdown">> class="btn-invisible btn-dropdown">{{$:/core/images/down-arrow}}</$button></p>
|
||||
<p><$fieldmangler><em class="tw-edit">Type:</em> <$edit-text field="type" tag="input" default="" placeholder="type" focusPopup=<<qualify "$:/state/typeDropdown">> class="tw-edit-typeeditor"/> <$button popup=<<qualify "$:/state/typeDropdown">> class="btn-invisible btn-dropdown">{{$:/core/images/down-arrow}}</$button> <$button message="tw-remove-field" param="type" class="btn-invisible btn-icon">{{$:/core/images/delete-button}}</$button></$fieldmangler></p>
|
||||
|
||||
<div class="tw-block-dropdown-wrapper">
|
||||
<$reveal state=<<qualify "$:/state/typeDropdown">> type="nomatch" text="" default="">
|
||||
|
@ -216,6 +216,12 @@ a.tw-tiddlylink-external {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.btn-icon svg {
|
||||
height: 1em;
|
||||
width: 1em;
|
||||
fill: #999;
|
||||
}
|
||||
|
||||
.btn-big-green {
|
||||
padding: 8px;
|
||||
margin: 4px 8px 4px 8px;
|
||||
|
Loading…
Reference in New Issue
Block a user