Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(ui): background on unauthenticated pages should span the full height (#10170)

Marc Klingen6ac1d4a86771
diff --git a/web/src/components/layouts/layout.tsx b/web/src/components/layouts/layout.tsx
index 50a707b66d..9d68b86e55 100644
--- a/web/src/components/layouts/layout.tsx
+++ b/web/src/components/layouts/layout.tsx
@@ -306,11 +306,13 @@ export default function Layout(props: PropsWithChildren) {
router.pathname.startsWith("/public/");
if (hideNavigation)
return (
- <SidebarProvider>
- <main className="h-dvh w-full bg-primary-foreground p-3 px-4 py-4 sm:px-6 lg:px-8">
- {props.children}
- </main>
- </SidebarProvider>
+ <div className="bg-primary-foreground">
+ <SidebarProvider>
+ <main className="min-h-dvh w-full p-3 px-4 py-4 sm:px-6 lg:px-8">
+ {props.children}
+ </main>
+ </SidebarProvider>
+ </div>
);
return (
<>