Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: make collapsed CoS status bar flush with panel edges

Adam Eivy0fe3eefb4619
diff --git a/client/src/pages/ChiefOfStaff.jsx b/client/src/pages/ChiefOfStaff.jsx
index e90407d8d1..50801be420 100644
--- a/client/src/pages/ChiefOfStaff.jsx
+++ b/client/src/pages/ChiefOfStaff.jsx
@@ -1387,9 +1387,9 @@ export default function ChiefOfStaff() {
{/* Content Panel. Flex column so the Mind tab can fill leftover height
on desktop (its chat pane owns the internal scroll); other tabs still
grow this region and scroll here as before. */}
- <div className="flex flex-1 min-h-0 min-w-0 flex-col overflow-y-auto overflow-x-hidden p-3 lg:p-4">
+ <div className="flex flex-1 min-h-0 min-w-0 flex-col overflow-hidden">
{desktopPanelCollapsed && (
- <div className="hidden cos-wide:flex sticky top-0 z-20 bg-port-bg items-center flex-wrap gap-3 mb-3">
+ <div className="hidden cos-wide:flex shrink-0 bg-port-bg items-center flex-wrap gap-3 px-3 lg:px-4 border-b border-port-border">
<button onClick={toggleDesktopPanel} aria-label="Expand CoS panel"
className="min-h-[44px] flex items-center gap-2 px-2 text-sm text-port-text">
<PanelLeftOpen size={16} aria-hidden="true" /> CoS
@@ -1400,6 +1400,7 @@ export default function ChiefOfStaff() {
</> : statusPlaceholder}
</div>
)}
+ <div className="flex flex-1 min-h-0 min-w-0 flex-col overflow-y-auto overflow-x-hidden p-3 lg:p-4">
{/* Stats Bar - hidden for SVG/canvas modes (now integrated into CoS sidebar);
ascii/terminal mode keeps it because TerminalCoSPanel doesn't host the cards. */}
<div className={`grid shrink-0 grid-cols-3 gap-1.5 sm:grid-cols-5 sm:gap-2 lg:gap-3 mb-3 sm:mb-4 lg:mb-6 ${avatarStyle !== 'ascii' ? 'hidden' : ''}`}>
@@ -1543,6 +1544,7 @@ export default function ChiefOfStaff() {
</Suspense>
</div>
)}
+ </div>
</div>
</div>
</PageLayout>