@@ -62,33 +62,31 @@ export const openSnippets = () => {
6262<div class="fn__flex-1" style="overflow:auto;padding: 16px 24px">
6363 <div>
6464 <div class="fn__flex">
65- <div class="fn__flex-1"></div>
66- <div class="b3-form__icon">
65+ <div class="b3-form__icon fn__flex-1">
6766 <svg class="b3-form__icon-icon"><use xlink:href="#iconSearch"></use></svg>
68- <input data-type="css" data-action="search" type="text" placeholder="${ window . siyuan . languages . search } " class="b3-text-field b3-form__icon-input">
67+ <input data-type="css" data-action="search" type="text" placeholder="${ window . siyuan . languages . search } " class="b3-text-field b3-form__icon-input fn__block ">
6968 </div>
7069 <div class="fn__space"></div>
7170 <span aria-label="${ window . siyuan . languages . addAttr } CSS" id="addCodeSnippetCSS" class="b3-tooltips b3-tooltips__sw block__icon block__icon--show">
7271 <svg><use xlink:href="#iconAdd"></use></svg>
7372 </span>
7473 <div class="fn__space"></div>
75- <input data-action="toggleCSS" class="b3-switch b3-switch--side fn__flex-center" type="checkbox"${ window . siyuan . config . snippet . enabledCSS ? " checked" : "" } >
74+ <input data-action="toggleCSS" class="b3-switch fn__flex-center" type="checkbox"${ window . siyuan . config . snippet . enabledCSS ? " checked" : "" } >
7675 </div>
7776 ${ cssHTML }
7877 </div>
7978 <div class="fn__none">
8079 <div class="fn__flex">
81- <div class="fn__flex-1"></div>
82- <div class="b3-form__icon">
80+ <div class="b3-form__icon fn__flex-1">
8381 <svg class="b3-form__icon-icon"><use xlink:href="#iconSearch"></use></svg>
84- <input data-type="js" data-action="search" type="text" placeholder="${ window . siyuan . languages . search } " class="b3-text-field b3-form__icon-input">
82+ <input data-type="js" data-action="search" type="text" placeholder="${ window . siyuan . languages . search } " class="b3-text-field b3-form__icon-input fn__block ">
8583 </div>
8684 <div class="fn__space"></div>
8785 <span aria-label="${ window . siyuan . languages . addAttr } JS" id="addCodeSnippetJS" class="b3-tooltips b3-tooltips__sw block__icon block__icon--show">
8886 <svg><use xlink:href="#iconAdd"></use></svg>
8987 </span>
9088 <div class="fn__space"></div>
91- <input data-action="toggleJS" class="b3-switch b3-switch--side fn__flex-center" type="checkbox"${ window . siyuan . config . snippet . enabledJS ? " checked" : "" } >
89+ <input data-action="toggleJS" class="b3-switch fn__flex-center" type="checkbox"${ window . siyuan . config . snippet . enabledJS ? " checked" : "" } >
9290 </div>
9391 ${ jsHTML }
9492 </div>
@@ -208,7 +206,7 @@ const genSnippet = (options: ISnippet) => {
208206 <svg><use xlink:href="#iconTrashcan"></use></svg>
209207 </span>
210208 <div class="fn__space"></div>
211- <input data-type="snippet" class="b3-switch b3-switch--side fn__flex-center" type="checkbox"${ options . enabled ? " checked" : "" } >
209+ <input data-type="snippet" class="b3-switch fn__flex-center" type="checkbox"${ options . enabled ? " checked" : "" } >
212210 </div>
213211 <div class="fn__hr"></div>
214212 <textarea class="fn__block b3-text-field" placeholder="${ window . siyuan . languages . codeSnippet } " style="resize: vertical;font-family:var(--b3-font-family-code)" spellcheck="false"></textarea>
0 commit comments