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(settings): move the save button into the modal footer beside close

HundredBillion268ec1b88afb
diff --git a/src/renderer/src/components/SettingsModal.tsx b/src/renderer/src/components/SettingsModal.tsx
index 264a744c..3d464dcd 100644
--- a/src/renderer/src/components/SettingsModal.tsx
+++ b/src/renderer/src/components/SettingsModal.tsx
@@ -1237,10 +1237,6 @@ export function SettingsModal({ config, onClose, initialSection }: SettingsModal
{brkHardStop ? 'kill on trip' : 'steer first'}
</PixelButton>
</div>
- <div style={{ display: 'flex', alignItems: 'center', gap: 10 }}>
- <PixelButton variant="secondary" size="sm" onClick={saveBudget}>save</PixelButton>
- {budgetNote && <span style={{ fontSize: 12, color: 'var(--cth-mint)' }}>{budgetNote}</span>}
- </div>
</div>
</div>
</>
@@ -2026,10 +2022,16 @@ export function SettingsModal({ config, onClose, initialSection }: SettingsModal
<div style={{
borderTop: '2px solid var(--cth-ink-300)',
padding: '10px 16px',
- display: 'flex', justifyContent: 'flex-end',
+ display: 'flex', justifyContent: 'flex-end', alignItems: 'center', gap: 8,
background: 'var(--cth-cream-50)'
}}>
+ {activeSection === 'Autonomy & Budgets' && budgetNote && (
+ <span style={{ fontSize: 12, color: 'var(--cth-mint)' }}>{budgetNote}</span>
+ )}
<PixelButton variant="secondary" size="md" onClick={onClose}>close</PixelButton>
+ {activeSection === 'Autonomy & Budgets' && (
+ <PixelButton variant="primary" size="md" onClick={saveBudget}>save</PixelButton>
+ )}
</div>
</>
)}