diff options
| author | Adam Soltys <[email protected]> | 2026-08-03 13:48:33 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-08-03 13:48:33 -0700 |
| commit | ac3e0bf43aac82e66010c3e845556ab32ad03aed (patch) | |
| tree | 738d9d0caa5bd05eb6cb05e6f4fb1d843e4e4dd1 | |
| parent | f440162701e9801796b82d8fd9e87e08a4a4a751 (diff) | |
| download | coinosv3-ac3e0bf43aac82e66010c3e845556ab32ad03aed.tar.gz coinosv3-ac3e0bf43aac82e66010c3e845556ab32ad03aed.zip | |
Balance card: drop the descriptor line
"Instant · free to send" and "On-chain · mining fees apply" were one
line that swapped with the account; the card is just the balance now.
Strings, styles and stale translations removed with it, and the face's
reserved height comes down to match.
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi
| -rw-r--r-- | src/app.js | 3 | ||||
| -rw-r--r-- | src/i18n.js | 2 | ||||
| -rw-r--r-- | src/style.css | 3 |
3 files changed, 1 insertions, 7 deletions
@@ -2363,9 +2363,6 @@ function balanceCard() { h('div', { class: 'amt', style: firstLoad ? 'opacity:.3' : '' }, firstLoad ? h('span', { class: 'spinner sm', style: 'margin-right:8px' }) : null, animatedAmount('bal:' + sel, isSpending ? spending : saving), ' ', unitTag('unit')), - hasArk - ? h('div', { class: 'small muted balance-note' }, isSpending ? t('balanceNoteSpending') : t('balanceNoteSavings')) - : null, pending > 0 || featLines.length ? h('div', { class: 'split' }, pending > 0 diff --git a/src/i18n.js b/src/i18n.js index 1e47be4..4d305d8 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -141,8 +141,6 @@ const STR = { spendingLabel: 'Spending', savingLabel: 'Savings', balanceSwitch: 'Switch to {name}', - balanceNoteSpending: 'Instant · free to send', - balanceNoteSavings: 'On-chain · mining fees apply', movingLabel: 'Moving…', balance: 'Balance', pending: 'Pending', diff --git a/src/style.css b/src/style.css index d3bc9fa..5cc5366 100644 --- a/src/style.css +++ b/src/style.css @@ -513,8 +513,7 @@ body::after { @media (prefers-reduced-motion: reduce) { .onb-mark { animation: none; } } .onb-addr { color: var(--muted); font-family: var(--mono); font-size: 13px; } /* balance card: one account at a time, dots to flip */ -.balance-face { min-height: 96px; } -.balance-note { margin-top: 2px; } +.balance-face { min-height: 78px; } /* amount input with an inline Max affordance */ .amt-field { position: relative; display: flex; flex: 1; min-width: 0; } .amt-field input { width: 100%; padding-right: 52px; } |
