@@ -50,12 +50,12 @@ ${button("rename", lang.rename)}${button("move", lang.move)}${button("remove", l
5050<div class="template-manager__path ft__breakword"></div>
5151<textarea class="b3-text-field template-manager__source" spellcheck="false" aria-label="${ lang . templateSource } " disabled></textarea>
5252<div class="template-manager__actions">${ button ( "save" , lang . save ) } ${ button ( "preview" , lang . templatePreview ) } </div>
53- <details class="template-manager__context">
54- <summary >${ lang . templateContext } <span class="template-manager__context-name"></span></summary >
53+ <div class="template-manager__context">
54+ <div >${ lang . templateContext } <span class="template-manager__context-name"></span></div >
5555<div class="ft__on-surface">${ lang . templateContextTip } </div>
5656<div class="template-manager__context-fields">
5757<input class="b3-text-field" type="search" placeholder="${ lang . templateContextSearch } " aria-label="${ lang . templateContextSearch } ">
58- <select class="b3-select" aria-label="${ lang . templateContext } "></select></div></details >
58+ <select class="b3-select" aria-label="${ lang . templateContext } "></select></div></div >
5959<div class="template-manager__preview"></div>
6060</div></div>
6161</div>` ,
@@ -104,7 +104,8 @@ ${button("rename", lang.rename)}${button("move", lang.move)}${button("remove", l
104104 destroy ( ) ;
105105 } ) ;
106106 const update = ( ) => {
107- pathLabel . textContent = ( selected ?. path || lang . templateSource ) + ( dirty ( ) ? " *" : "" ) ;
107+ pathLabel . textContent = ( selected ?. path || "" ) + ( dirty ( ) ? " *" : "" ) ;
108+ pathLabel . classList . toggle ( "fn__none" , ! selected ) ;
108109 source . disabled = ! selected || selected . isDir ;
109110 source . readOnly = busy ;
110111 list . setAttribute ( "aria-busy" , String ( busy ) ) ;
0 commit comments