Tried to optimize product page

This commit is contained in:
Henrik Larsson
2023-08-11 10:19:55 +02:00
parent a7efbf8fc3
commit 767245672c
18 changed files with 190 additions and 263 deletions

View File

@@ -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}
/>