aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/features/ark.js2
-rw-r--r--src/i18n.js1
-rw-r--r--src/style.css5
3 files changed, 6 insertions, 2 deletions
diff --git a/src/features/ark.js b/src/features/ark.js
index f37d707..0488274 100644
--- a/src/features/ark.js
+++ b/src/features/ark.js
@@ -1582,7 +1582,7 @@ export function arkFeature(ctx) {
h('div', { class: 'input-group' },
amountField({
value: ui.arkBoardAmt,
- placeholder: t('arkBoardPlaceholder', { n: minBoard.toLocaleString() }),
+ placeholder: t('arkOffboardAmtPlaceholder'), // the minimum is stated below
onInput: (e) => { ui.arkBoardAmt = e.target.value; render(); },
maxSat: canBoard ? wallet.spendable : 0,
onMax: () => { ui.arkBoardAmt = String(maxBoardSat()); render(); },
diff --git a/src/i18n.js b/src/i18n.js
index ab03ea6..af71814 100644
--- a/src/i18n.js
+++ b/src/i18n.js
@@ -424,7 +424,6 @@ const STR = {
arkBoardHistory: 'Moved to Spending',
arkVtxos: 'Coins (VTXOs)',
arkPendingActions: '{n} operation(s) in progress',
- arkBoardPlaceholder: 'Amount (min {n} sats)',
arkBoardBtn: 'Move to Spending',
arkBoardFeeNote: 'Fee {fee} sats — {net} sats will arrive in Spending.',
arkBoardFeeLabel: 'Fee',
diff --git a/src/style.css b/src/style.css
index edae677..7c3113e 100644
--- a/src/style.css
+++ b/src/style.css
@@ -525,3 +525,8 @@ body::after {
}
.balance-switch:hover { color: var(--ink); border-color: var(--line-strong); }
.balance-switch svg { opacity: .75; }
+/* Move-money row: the action labels are long ("Move to Spending"), so let the
+ row wrap to two full-width lines rather than crushing the amount field. */
+.balance-move .input-group { flex-wrap: wrap; }
+.balance-move .amt-field { flex: 1 1 150px; }
+.balance-move .input-group > button { flex: 1 1 150px; }