Skip to content

Commit 2c265e8

Browse files
authored
Search Bar - moving search icon to the left (#2353)
* updating gitignore to exclude mcp config * updating search bar to have icon on the left
1 parent b8ac036 commit 2c265e8

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,5 @@ yarn-error.log*
3434

3535
# Claude Code configuration
3636
CLAUDE.md
37-
.claude/settings.local.json
37+
.claude/settings.local.json
38+
.mcp.json

components/SearchBar.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,16 +193,16 @@ function CustomSearchBox({
193193
return (
194194
<form onSubmit={handleSubmit}>
195195
<div className="relative">
196+
<span className="pointer-events-none absolute left-3 top-1/2 -translate-y-1/2 text-slate-400" aria-hidden="true">
197+
<Search className="w-5 h-5" />
198+
</span>
196199
<input
197200
type="text"
198-
className="block w-full h-10 pl-3 pr-10 py-2 mb-4 bg-white border placeholder-slate-400 focus:ring-gray-400 rounded-md"
201+
className="block w-full h-10 pl-10 pr-3 py-2 mb-4 bg-white border placeholder-slate-400 focus:ring-gray-400 rounded-md"
199202
placeholder="Search..."
200203
value={inputValue}
201204
onChange={(e) => setInputValue(e.target.value)}
202205
/>
203-
<span className="pointer-events-none absolute right-3 top-1/2 -translate-y-1/2 text-slate-400" aria-hidden="true">
204-
<Search className="w-5 h-5" />
205-
</span>
206206
</div>
207207
</form>
208208
);

tina/tina-lock.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)