change space-x from 6 to 4 in carousel

This commit is contained in:
StephDietz 2023-07-11 15:34:41 -05:00
parent 1ec6def4b0
commit f0e7334c61

View File

@ -11,7 +11,7 @@ export async function Carousel() {
return ( return (
<div className="relative w-full overflow-hidden pb-6"> <div className="relative w-full overflow-hidden pb-6">
<div className="flex animate-carousel space-x-6"> <div className="flex animate-carousel space-x-4">
{[...products, ...products].map((product, i) => ( {[...products, ...products].map((product, i) => (
<Link <Link
key={`${product.handle}${i}`} key={`${product.handle}${i}`}