Skip to content

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

fix(ui): background on non-authenticated pages (#10360)

Marc Klingen8c62dacbe359
diff --git a/web/src/components/layouts/layout.tsx b/web/src/components/layouts/layout.tsx
index fafaed8ff1..aac9494d73 100644
--- a/web/src/components/layouts/layout.tsx
+++ b/web/src/components/layouts/layout.tsx
@@ -314,13 +314,11 @@ export default function Layout(props: PropsWithChildren) {
router.pathname.startsWith("/public/");
if (hideNavigation)
return (
- <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>
+ <SidebarProvider className="bg-primary-foreground">
+ <main className="min-h-dvh w-full overflow-y-scroll p-3 px-4 py-4 sm:px-6 lg:px-8">
+ {props.children}
+ </main>
+ </SidebarProvider>
);
return (
<>
diff --git a/web/src/styles/globals.css b/web/src/styles/globals.css
index 039381f7a1..a20aba0842 100644
--- a/web/src/styles/globals.css
+++ b/web/src/styles/globals.css
@@ -200,7 +200,7 @@
body,
div#__next,
div#__next > div {
- min-height: 100%;
+ height: 100%;
}
}