diff options
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/dependencies/generateSearchSidebarBox.js | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/content/dependencies/generateSearchSidebarBox.js b/src/content/dependencies/generateSearchSidebarBox.js index 8b18cfae..188a678f 100644 --- a/src/content/dependencies/generateSearchSidebarBox.js +++ b/src/content/dependencies/generateSearchSidebarBox.js @@ -14,12 +14,14 @@ export default { collapsible: false, content: [ - html.tag('input', {class: 'wiki-search-input'}, - { - placeholder: - language.$(capsule, 'placeholder').toString(), - }, - {type: 'search'}), + html.tag('label', {class: 'wiki-search-label'}, + html.tag('input', {class: 'wiki-search-input'}, + {type: 'search'}, + + { + placeholder: + language.$(capsule, 'placeholder').toString(), + })), html.tag('template', {class: 'wiki-search-preparing-string'}, language.$(capsule, 'preparing')), |