Skip to content

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

fix(ui): more compact header (#10370)

Nimar0cfe02891bc7
diff --git a/web/src/components/layouts/page-header.tsx b/web/src/components/layouts/page-header.tsx
index 9dcea342dc..c03ba0f3b3 100644
--- a/web/src/components/layouts/page-header.tsx
+++ b/web/src/components/layouts/page-header.tsx
@@ -71,7 +71,7 @@ const PageHeader = ({
<div className="border-b">
<div
className={cn(
- "flex min-h-12 items-center gap-3 px-3 py-2",
+ "flex min-h-11 items-center gap-3 px-3 py-2",
container && "lg:container",
)}
>
@@ -87,7 +87,7 @@ const PageHeader = ({
<div className="bg-header">
<div
className={cn(
- "flex min-h-12 w-full flex-wrap items-center justify-between gap-1 px-3 py-1 md:flex-nowrap",
+ "flex min-h-11 w-full flex-wrap items-center justify-between gap-1 px-3 py-1 md:flex-nowrap",
container && "lg:container",
)}
>
diff --git a/web/src/components/nav/app-sidebar.tsx b/web/src/components/nav/app-sidebar.tsx
index 63d1a21537..05b6d90a8d 100644
--- a/web/src/components/nav/app-sidebar.tsx
+++ b/web/src/components/nav/app-sidebar.tsx
@@ -49,7 +49,7 @@ export function AppSidebar({
return (
<Sidebar collapsible="icon" variant="sidebar" {...props}>
<SidebarHeader>
- <div className="flex min-h-10 items-center gap-2 px-2 py-2 group-data-[collapsible=icon]:p-3">
+ <div className="flex min-h-9 items-center gap-2 px-2 py-2 group-data-[collapsible=icon]:p-3">
<LangfuseLogo version />
</div>
<div className="h-1 flex-1 border-b" />
diff --git a/web/src/components/ui/sidebar.tsx b/web/src/components/ui/sidebar.tsx
index fa811b9ddf..78e5c37220 100644
--- a/web/src/components/ui/sidebar.tsx
+++ b/web/src/components/ui/sidebar.tsx
@@ -372,7 +372,7 @@ const SidebarHeader = React.forwardRef<
<div
ref={ref}
data-sidebar="header"
- className={cn("flex min-h-12 flex-col pt-2 md:h-fit", className)}
+ className={cn("flex min-h-11 flex-col pt-2 md:h-fit", className)}
{...props}
/>
);