ui: tighten dashboard copy and fix layout issues

This commit is contained in:
k
2026-06-14 21:58:56 +08:00
parent 4c3c8c6f87
commit 8534d90589
19 changed files with 1036 additions and 345 deletions
+3 -3
View File
@@ -835,7 +835,7 @@ export default function BotConfigPanel() {
<div className="form-row">
<div className="form-row-label">
Take profit <span style={{ color: 'var(--down)' }}>*</span>
<span className="hint">Bot locks in profit when the position gains this much. Required.</span>
<span className="hint">Bot locks in profit when the position gains this much.</span>
</div>
<div className="form-row-control">
<div className="num-field">
@@ -851,7 +851,7 @@ export default function BotConfigPanel() {
<div className="form-row" style={{ marginBottom: 16 }}>
<div className="form-row-label">
Stop loss <span style={{ color: 'var(--down)' }}>*</span>
<span className="hint">Bot cuts the loss when the position falls this much. Required.</span>
<span className="hint">Bot cuts the loss when the position falls this much.</span>
</div>
<div className="form-row-control">
<div className="num-field">
@@ -998,7 +998,7 @@ export default function BotConfigPanel() {
<div className="form-row">
<div className="form-row-label">
Daily trading cap
<span className="hint">Daily spending cap — bot stops opening new trades once it hits this amount.</span>
<span className="hint">Bot stops opening new trades once it has spent this amount in a day.</span>
</div>
<div className="form-row-control" style={{ flexWrap: 'wrap', gap: 10 }}>
<Switch on={useBudget} onChange={v => { setUseBudget(v); setDirty(true) }} />