mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
Tried to optimize product page
This commit is contained in:
@@ -24,7 +24,7 @@ export default function Search() {
|
||||
);
|
||||
}
|
||||
return (
|
||||
<div className="flex flex-col overflow-auto">
|
||||
<div className="flex flex-col">
|
||||
<InstantSearch searchClient={searchClient} indexName="shopify_products">
|
||||
{/* Widgets */}
|
||||
<SearchBox
|
||||
@@ -42,7 +42,7 @@ export default function Search() {
|
||||
<Hits
|
||||
classNames={{
|
||||
root: 'flex flex-col mt-4',
|
||||
list: 'grid grid-cols-1 gap-4'
|
||||
list: 'grid grid-cols-1 gap-4 overflow-auto'
|
||||
}}
|
||||
hitComponent={Hit}
|
||||
/>
|
||||
|
Reference in New Issue
Block a user