fix: anchor the /agents overlay to the top-right corner instead of center

This commit is contained in:
Emil
2026-07-31 23:33:33 +03:00
parent d9bc32d909
commit 460cef3d23
+1 -1
View File
@@ -69,7 +69,7 @@ export class SupervisorIntegration {
const tree = this.required().tree;
await ctx.ui.custom<undefined>((tui, theme, _kb, done) => createAgentTreeOverlay(tree, tui, theme, () => done(undefined)), {
overlay: true,
overlayOptions: { width: "65%", minWidth: 60, maxHeight: "75%", anchor: "center", visible: (termWidth) => termWidth >= 60 },
overlayOptions: { width: "55%", minWidth: 60, maxHeight: "80%", anchor: "top-right", margin: 1, visible: (termWidth) => termWidth >= 60 },
});
}