mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
fix(frontend): improve AppSidebar header layout and styling
This commit is contained in:
@@ -108,13 +108,15 @@ export function AppSidebar({ dynamicContent }: Props) {
|
||||
>
|
||||
<SidebarHeader
|
||||
className={cn(
|
||||
"border-b border-zinc-100 px-3",
|
||||
isCollapsed ? "flex items-center justify-center py-0" : "py-4",
|
||||
"!flex-row border-b border-zinc-100 px-3",
|
||||
isCollapsed
|
||||
? "items-center justify-center py-0"
|
||||
: "items-center py-0",
|
||||
)}
|
||||
style={isCollapsed ? { height: NAVBAR_HEIGHT_PX } : undefined}
|
||||
style={{ height: NAVBAR_HEIGHT_PX }}
|
||||
>
|
||||
{!isCollapsed && (
|
||||
<div className="flex items-center justify-between">
|
||||
<div className="flex w-full items-center justify-between">
|
||||
<Link href={homeHref}>
|
||||
<IconAutoGPTLogo className="h-8 w-24" />
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user