The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore: files changed app/src/components/layout/TwoPaneNav.tsx
Steven Enamakel651529aa7712
diff --git a/app/src/components/layout/TwoPaneNav.tsx b/app/src/components/layout/TwoPaneNav.tsxindex 4c88bbdc6e..9094176c8a 100644--- a/app/src/components/layout/TwoPaneNav.tsx+++ b/app/src/components/layout/TwoPaneNav.tsx@@ -57,10 +57,21 @@ export default function TwoPaneNav({}: TwoPaneNavProps) {return (<nav aria-label={ariaLabel} data-walkthrough={walkthroughId} className="flex h-full flex-col">- {header && <div className="shrink-0 px-3 pb-1 pt-3">{header}</div>}- {/* When there's no header, the list needs its own top padding so the first- item doesn't collide with the pane's top edge. */}- <div className={`min-h-0 flex-1 overflow-y-auto px-3 pb-2 ${header ? '' : 'pt-3'}`}>+ {/* No top padding on either branch. Every caller of this component+ projects it into the root sidebar's dynamic region (`SidebarContent`)+ — SettingsSidebar, usePageWelcomeView, Rewards, Brain and Skills, all+ five — where it lands under `AppSidebar`'s separator, and that+ separator's `my-*` owns the gap on its own.++ The list used to carry `pt-3` when no header was present, so "the+ first item doesn't collide with the pane's top edge". That was right+ when this pane began at the top edge; it now begins below a divider+ that is already spacing it, and the two stacked. If this component+ ever gains a caller that renders it flush against a pane top, the+ padding belongs on that caller, not back here — it is the one thing+ this component cannot know about its own placement. */}+ {header && <div className="shrink-0 px-3 pb-1">{header}</div>}+ <div className="min-h-0 flex-1 overflow-y-auto px-3 pb-2">{groups.map((group, groupIndex) => (<div key={group.label ?? `__group-${groupIndex}`} data-testid={group.testId}>{group.label && (