Skip to content

an open-source alternative to the dots, bots and muses of the world, run an office of claude code/codex like agents on your laptop, sandboxes or anywhere, uses your existing subscriptions

fix(floor): keep "add agent" button one line as the roster fills

Chaitanya Girieaafcf7440c3
diff --git a/src/renderer/src/components/AgentStrip.tsx b/src/renderer/src/components/AgentStrip.tsx
index 94825b90..9560d43b 100644
--- a/src/renderer/src/components/AgentStrip.tsx
+++ b/src/renderer/src/components/AgentStrip.tsx
@@ -171,7 +171,7 @@ export function AgentStrip({ config }: AgentStripProps) {
onClick={restoreTeam}
disabled={restoring}
>
- <span style={{ display: 'inline-flex', gap: 6, alignItems: 'center' }}>
+ <span style={{ display: 'inline-flex', gap: 6, alignItems: 'center', whiteSpace: 'nowrap' }}>
<Icon name="play" /> {restoring ? 'restoring…' : `restore team (${restorableAgents.length})`}
</span>
</PixelButton>
@@ -180,10 +180,10 @@ export function AgentStrip({ config }: AgentStripProps) {
<PixelButton
variant="secondary"
size="lg"
- style={{ alignSelf: 'center' }}
+ style={{ alignSelf: 'center', flexShrink: 0 }}
onClick={() => setAddAgentOpen(true)}
>
- <span style={{ display: 'inline-flex', gap: 6, alignItems: 'center' }}>
+ <span style={{ display: 'inline-flex', gap: 6, alignItems: 'center', whiteSpace: 'nowrap' }}>
<Icon name="plus" /> add agent
</span>
</PixelButton>