Skip to content

Commit bc0da6b

Browse files
committed
Enhance search input with icon
1 parent fffca93 commit bc0da6b

1 file changed

Lines changed: 15 additions & 7 deletions

File tree

docs/index.html

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,18 @@
5757
<h1 class="text-2xl font-bold mb-4">ForgeExtensions</h1>
5858

5959
<!-- Search -->
60-
<input
61-
id="search"
62-
type="text"
63-
placeholder="Search extensions..."
64-
class="w-full px-4 py-2 rounded-lg bg-[#151821] border border-slate-800 focus:outline-none focus:border-slate-600 text-sm"
65-
/>
60+
<div class="relative">
61+
<i
62+
class="bi bi-search absolute left-3 top-1/2 -translate-y-1/2 text-slate-400 text-sm pointer-events-none"
63+
></i>
64+
65+
<input
66+
id="search"
67+
type="text"
68+
placeholder="Search extensions..."
69+
class="w-full pl-9 pr-4 py-2 rounded-lg bg-[#151821] border border-slate-800 focus:outline-none focus:border-slate-600 focus:ring-1 focus:ring-slate-600 text-sm"
70+
/>
71+
</div>
6672
</div>
6773

6874
<!-- Extensions container -->
@@ -72,7 +78,9 @@ <h1 class="text-2xl font-bold mb-4">ForgeExtensions</h1>
7278
></div>
7379
<footer class="text-center py-6 text-[0.7rem] text-slate-600">
7480
Try out
75-
<a class="text-[rgb(var(--accent-code))] underline" href="https://github.com/ForjSkript"
81+
<a
82+
class="text-[rgb(var(--accent-code))] underline"
83+
href="https://github.com/ForjSkript"
7684
>ForjSkript</a
7785
>
7886
</footer>

0 commit comments

Comments
 (0)