File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
apps/frontend/src/modules/shared/components/layout Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,20 +23,20 @@ export function SearchBar() {
2323 } ;
2424
2525 return (
26- < div className = 'flex gap-2 ' >
26+ < div className = 'flex' >
2727 < input
2828 type = 'text'
2929 value = { searchQuery }
3030 onChange = { ( e ) => setSearchQuery ( e . target . value ) }
3131 onKeyDown = { handleKeyDown }
32- placeholder = 'Type your search ...'
33- className = 'flex-1 px-3 py-2 bg-zinc-900 border border-zinc-700 rounded text-zinc-100 placeholder-zinc-500 focus:outline-none focus:ring-2 focus:ring-orange -500 focus:border-transparent'
32+ placeholder = 'Search songs ...'
33+ className = 'flex-1 px-3 py-2 bg-transparent border border-zinc-700 rounded-l-full text-sm text-white placeholder-zinc-500 focus:outline-none focus:border-blue -500 focus:border-transparent'
3434 autoFocus
3535 />
3636 < button
3737 onClick = { handleSearch }
3838 disabled = { ! searchQuery . trim ( ) }
39- className = 'px-4 py-2 bg-orange-600 hover: bg-orange -700 disabled :bg-zinc-700 disabled: text-zinc-500 disabled:cursor-not-allowed text- white rounded transition-colors duration-200 flex items-center gap-2'
39+ className = 'px-4 py-2 pl-3 bg-zinc -700 hover :bg-zinc-600 text-white rounded-r-full transition-colors duration-200 flex items-center gap-2'
4040 aria-label = 'Search'
4141 >
4242 < FontAwesomeIcon icon = { faMagnifyingGlass } />
You can’t perform that action at this time.
0 commit comments