mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
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:
parent
f6b411b12f
commit
eaea85ca1e
1 changed files with 1 additions and 1 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue