Hello, yesterday I posted about an issue I had related to my error pages introducing a scrollbar because Id like for it to take the entire screen height while take into consideration the fact that theres a navbar. So essentially the rest of the screen space left by the navbar. I was advised to do the following:
<html lang="en">
<body className={inter.className}>
<ThemeProvider
attribute="class"
defaultTheme="system"
enableSystem
disableTransitionOnChange
>
<div className="flex flex-col min-h-dvh">
<Header />
{children}
</div>
</ThemeProvider>
</body>
</html>
Essentially wrap my main content in a "flex min-h-dvh" In my layout.tsx, and
<div className="grid grow place-content-center bg-white px-4" >
put "grow" In my error page. Which worked. However today when I run my project I saw that the same issue persisted when I never changed the code at all. Any ideas ?