mirror of
https://github.com/vercel/commerce.git
synced 2025-05-14 21:47:51 +00:00
Tweaks
This commit is contained in:
parent
b80cbd8743
commit
de85d266bd
@ -56,7 +56,7 @@ export default function SearchModal() {
|
|||||||
hitComponent={Hit}
|
hitComponent={Hit}
|
||||||
classNames={{
|
classNames={{
|
||||||
root: 'flex flex-col flex-1 h-full overflow-auto pb-6',
|
root: 'flex flex-col flex-1 h-full overflow-auto pb-6',
|
||||||
list: 'mt-4 grid w-full grid-cols-1 overflow-auto gap-6'
|
list: 'mt-4 grid w-full grid-cols-1 overflow-auto gap-4'
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</Search>
|
</Search>
|
||||||
|
@ -53,7 +53,7 @@ const BlurbSection = ({
|
|||||||
<div
|
<div
|
||||||
key={index}
|
key={index}
|
||||||
className={`${
|
className={`${
|
||||||
mobileLayout === 'horizontal' && 'w-5/12 shrink-0 snap-center lg:w-full'
|
mobileLayout === 'horizontal' && 'w-11/12 shrink-0 snap-center lg:w-full'
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
<Card
|
<Card
|
||||||
|
@ -49,7 +49,7 @@ const Card: FC<CardProps> = ({ className, title, image, link, text, imageFormat
|
|||||||
className={imageClasses}
|
className={imageClasses}
|
||||||
image={image}
|
image={image}
|
||||||
alt={image.alt || ''}
|
alt={image.alt || ''}
|
||||||
sizes="(max-width: 1024px) 50vw, 20vw"
|
sizes="(max-width: 1024px) 50vw, 90vw"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user