I'm not sure why, but it goes on multiple screen heights after. It's a single page app. I'm stuck so any help would be appreciated!
layout.tsx
<html lang="en" data-theme="winter">
<body className={inter.className}>
<div role="alert" className="alert alert-info">
<span>🎉 Storefront.community is now gedd.it!</span>
</div>
<div className="navbar bg-base-200 rounded-box">
<div className="flex-1 px-1 lg:flex-none">
<Link className="text-md font-semibold md:text-xl p-1 text-center" href="/">🛍️ Geddit<p className="text-sm font-light flex items-center justify-center">Browse Reddit like eBay</p></Link>
</div>
</div>
{children}
</body>
</html>```
page.tsx
```ts
import React from 'react'
import ProductBroswer from './ProductBroswer';
import { ProductSearchParams } from '@/types/products';
interface Props {
searchParams: ProductSearchParams
}
export default function Home({ searchParams }: Props) {
return (
<main>
<ProductBroswer key={JSON.stringify(searchParams)} {...searchParams} />
</main>
);
}```
globals.css
```css
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--foreground-rgb: 0, 0, 0;
}
body {
color: rgb(var(--foreground-rgb));
padding: 1rem;
overflow-x: hidden;
}
html, body {
overflow-x: hidden;
}```
