Fixed Search conversations input box was out of bounds (#41)

This commit is contained in:
angular-moon 2023-03-21 23:46:56 +08:00 committed by GitHub
parent 3d0e783006
commit 5b6968a6be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ export const Search: FC<Props> = ({ searchTerm, onSearch }) => {
return (
<div className="relative flex items-center sm:pl-2 px-2 mb-2">
<input
className="flex-1 pr-10 bg-[#202123] border border-neutral-600 text-sm rounded-lg px-4 py-2 text-white"
className="flex-1 w-full pr-10 bg-[#202123] border border-neutral-600 text-sm rounded-lg px-4 py-2 text-white"
type="text"
placeholder="Search conversations..."
value={searchTerm}