Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: files changed app/src/components/layout/shell/SidebarNav.tsx,app/src/features/conversations/t

Steven Enamakele4efabe3a738
diff --git a/app/src/components/layout/shell/SidebarNav.tsx b/app/src/components/layout/shell/SidebarNav.tsx
index 89657b1d9c..9446c41960 100644
--- a/app/src/components/layout/shell/SidebarNav.tsx
+++ b/app/src/components/layout/shell/SidebarNav.tsx
@@ -85,7 +85,10 @@ export default function SidebarNav() {
// (no primitive substitutes for that a11y role) and picks up
// `shrink-0` so the caller no longer needs a wrapping div for it.
<nav className="shrink-0" aria-label={t('nav.home')}>
- <SidebarGroup>
+ {/* `pb-0` drops the primitive's own `py-1` bottom half. The gap down to
+ the separator is the separator's `my-*` alone, so the space between
+ the two lists has exactly one owner instead of three stacking. */}
+ <SidebarGroup className="pb-0">
<SidebarMenu>
{tabs.map(tab => {
const active = matchActive(tab.path, location.pathname);
diff --git a/app/src/features/conversations/threadList/ThreadList.tsx b/app/src/features/conversations/threadList/ThreadList.tsx
index 7280c71d3f..728b7cf1c9 100644
--- a/app/src/features/conversations/threadList/ThreadList.tsx
+++ b/app/src/features/conversations/threadList/ThreadList.tsx
@@ -54,8 +54,12 @@ export function ThreadList({
<div className="h-full flex flex-col">
{/* Section header: a muted group label with the "new" affordance docked on
the right, replacing the old full-width centered button. Mirrors the
- grouped-nav idiom the settings sidebar already uses. */}
- <div className="flex shrink-0 items-center justify-between px-3 pb-1.5 pt-4">
+ grouped-nav idiom the settings sidebar already uses.
+
+ `pt-0`, not `pt-4`: projected into the app sidebar this list sits under
+ a separator that already owns the gap, and a top pad here stacked on
+ top of it. Spacing above this list belongs to whatever precedes it. */}
+ <div className="flex shrink-0 items-center justify-between px-3 pb-1.5 pt-0">
<span className="text-[10px] font-semibold uppercase tracking-wider text-content-muted">
{t('chat.conversationsHeading')}
</span>