mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Update canary version to fix scroll to top. (#976)
This commit is contained in:
@@ -32,9 +32,9 @@ export default function Search() {
|
||||
placeholder="Search for products..."
|
||||
autoComplete="off"
|
||||
defaultValue={searchParams?.get('q') || ''}
|
||||
className="w-full py-2 px-4 text-black dark:bg-black dark:text-gray-100"
|
||||
className="w-full px-4 py-2 text-black dark:bg-black dark:text-gray-100"
|
||||
/>
|
||||
<div className="absolute top-0 right-0 mr-3 flex h-full items-center">
|
||||
<div className="absolute right-0 top-0 mr-3 flex h-full items-center">
|
||||
<SearchIcon className="h-5" />
|
||||
</div>
|
||||
</form>
|
||||
|
Reference in New Issue
Block a user