This commit is contained in:
StephDietz 2023-07-11 15:40:49 -05:00
parent a60af5f7e7
commit 99e8b00961
3 changed files with 5 additions and 5 deletions

View File

@ -33,7 +33,7 @@ const inter = Inter({
export default async function RootLayout({ children }: { children: ReactNode }) {
return (
<html lang="en" className={inter.variable}>
<body className="text-black bg-gray-50 selection:bg-teal-300 dark:bg-dark dark:text-white dark:selection:bg-fuchsia-600 dark:selection:text-white">
<body className="bg-gray-50 text-black selection:bg-teal-300 dark:bg-dark dark:text-white dark:selection:bg-fuchsia-600 dark:selection:text-white">
<Navbar />
<Suspense>
<main>{children}</main>

View File

@ -10,8 +10,8 @@ export async function Carousel() {
if (!products?.length) return null;
return (
<div className="relative w-full pb-6 overflow-hidden">
<div className="flex space-x-4 animate-carousel">
<div className="relative w-full overflow-hidden pb-6">
<div className="flex animate-carousel space-x-4">
{[...products, ...products].map((product, i) => (
<Link
key={`${product.handle}${i}`}
@ -21,7 +21,7 @@ export async function Carousel() {
{product.featuredImage ? (
<Image
alt={product.title}
className="object-contain h-full"
className="h-full object-contain"
fill
sizes="33vw"
src={product.featuredImage.url}

View File

@ -29,7 +29,7 @@ export function GridTileImage({
)}
>
{active !== undefined && active ? (
<span className="absolute w-full h-full bg-white opacity-25"></span>
<span className="absolute h-full w-full bg-white opacity-25"></span>
) : null}
{props.src ? (
<Image