Currently, I have a navigation element with the code snippet below:
export default function Nav() {
return (
<>
<header
className={
"bg-white flex flex-row justify-between items-center px-20 py-4 filter drop-shadow-md"
}
>
</header>
</>
);
}
Alongside this nav component is another component that gets rendered as a sibling in the _app
:
function MyApp({ Component, pageProps }) {
return (
<SessionProvider>
<Nav />
<Component {...pageProps} />
</SessionProvider>
);
}
export default MyApp;
My goal is to ensure that the content of the Component
takes up the entire height of the page below the navigation. The catch is, the navigation's height is not fixed and I want it to remain that way.