« get me outta code hell

content, css, client: search magnifying glass & hover cues - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-06-16 15:20:15 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-06-18 22:56:13 -0300
commit1820a0ba6643b34a36ab1b29ff6ef33f0dc5a655 (patch)
treec8736e93791c61256620ed34a58fea5ab2ed8cbe /src/content/dependencies
parent722195a80315bfd18e183108ad249e5672197a70 (diff)
content, css, client: search magnifying glass & hover cues
Diffstat (limited to 'src/content/dependencies')
-rw-r--r--src/content/dependencies/generateSearchSidebarBox.js14
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')),