mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
Fields EditTemplate: Correct positioning of dropdown (#4687)
* Add wrapper div to fields EditTemplate * Add classes * remove obsolete span * Update base.tid
This commit is contained in:
parent
482f7a92ae
commit
17a36726fa
@ -71,9 +71,9 @@ $value={{{ [<newFieldValueTiddler>get[text]] }}}/>
|
||||
<em class="tc-edit">
|
||||
<<lingo Fields/Add/Prompt>>
|
||||
</em>
|
||||
<span class="tc-edit-field-add-name">
|
||||
<div class="tc-edit-field-add-name-wrapper">
|
||||
<$edit-text tiddler=<<newFieldNameTiddler>> tag="input" default="" placeholder={{$:/language/EditTemplate/Fields/Add/Name/Placeholder}} focusPopup=<<qualify "$:/state/popup/field-dropdown">> class="tc-edit-texteditor tc-popup-handle" tabindex={{$:/config/EditTabIndex}} focus={{{ [{$:/config/AutoFocus}match[fields]then[true]] ~[[false]] }}} cancelPopups="yes"/>
|
||||
</span>
|
||||
|
||||
<$button popup=<<qualify "$:/state/popup/field-dropdown">> class="tc-btn-invisible tc-btn-dropdown" tooltip={{$:/language/EditTemplate/Field/Dropdown/Hint}} aria-label={{$:/language/EditTemplate/Field/Dropdown/Caption}}>{{$:/core/images/down-arrow}}</$button>
|
||||
<$reveal state=<<qualify "$:/state/popup/field-dropdown">> type="nomatch" text="" default="">
|
||||
<div class="tc-block-dropdown tc-edit-type-dropdown">
|
||||
@ -101,6 +101,7 @@ $value={{{ [<newFieldValueTiddler>get[text]] }}}/>
|
||||
</$set>
|
||||
</div>
|
||||
</$reveal>
|
||||
</div>
|
||||
<span class="tc-edit-field-add-value">
|
||||
<$set name="currentTiddlerCSSescaped" value={{{ [<currentTiddler>escapecss[]] }}}>
|
||||
<$keyboard key="((add-field))" actions=<<new-field-actions>>>
|
||||
|
@ -1404,9 +1404,12 @@ html body.tc-body.tc-single-tiddler-window {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.tc-edit-field-add-name {
|
||||
.tc-edit-field-add-name-wrapper input.tc-edit-texteditor {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.tc-edit-field-add-name-wrapper {
|
||||
display: inline-block;
|
||||
width: 15%;
|
||||
}
|
||||
|
||||
.tc-edit-field-add-value {
|
||||
|
Loading…
Reference in New Issue
Block a user