feat(ui): extend topnav border across the sidebar header (#32920)

Pin the sidebar header to the same 56px height as the dashboard topnav and
give it a matching bottom border, so the two borders sit flush and read as one
continuous line. Revert to auto height when the rail is collapsed so the
stacked logo and toggle are not clipped.
This commit is contained in:
yuneng-jiang 2026-07-11 13:59:48 -07:00 • committed by GitHub
parent f6b411b12f
commit eaea85ca1e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -574,7 +574,7 @@ const Sidebar_: React.FC<SidebarProps> = ({
return (
<Sidebar collapsed={collapsed}>
<SidebarHeader>
<SidebarHeader className="h-14 border-b border-border group-data-[collapsed=true]/sidebar:h-auto">
<div className="flex items-center justify-between gap-2 group-data-[collapsed=true]/sidebar:flex-col">
<div className="flex min-w-0 items-center gap-2">
<Link href={baseUrl || "/"} className="flex min-w-0 items-center" aria-label="LiteLLM home">