Fix centered layout height

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Jonathan
2025-06-17 16:22:48 +02:00
committed by Bryan Frimin
parent 3799db1f45
commit d3ff7cc6ac
2 changed files with 5 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ import { Skeleton } from "../Atoms/Skeleton/Skeleton";
export function CenteredLayout({ children }: PropsWithChildren) {
return (
<div className="grid place-items-center h-screen text-txt-primary bg-level-0">
<div className="grid place-items-center min-h-screen text-txt-primary bg-level-0">
<div className="w-full max-w-2xl flex flex-col items-center">
{children ?? <Outlet />}
</div>