aboutsummaryrefslogtreecommitdiffstats
path: root/src/style.css
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-02 14:35:25 -0700
committerAdam Soltys <[email protected]>2026-10-02 14:35:25 -0700
commitdb8b88b973635b7329cfd5f234c6f8dd6e9e2ccf (patch)
tree3e083c874efb716810ceb73b3f42ff242309cce2 /src/style.css
parent12b129de5e579e0596c87f65524bd48cfbbe3e87 (diff)
downloadcoinosv3-db8b88b973635b7329cfd5f234c6f8dd6e9e2ccf.tar.gz
coinosv3-db8b88b973635b7329cfd5f234c6f8dd6e9e2ccf.zip
Send: the recipient field grows to show it all; history steps aside while sending
- The recipient is a one-line textarea that wraps and grows (rows from the text's length over the field's measured width), so a whole address is in view in the field itself — no second copy in small type below. Enter doesn't break it and pasted line breaks are dropped. Empty, it is as tall as its hint (measured in the hint's own face), so that's whole too. - Past the recipient — the amount, a review, a Lightning/Ark confirmation, a raw tx to broadcast — the history list below the send pane is left out. - tools/send-dest-test.js (390px and 1280px). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Dmcrt9KyNDKVWFKnb8BREo
Diffstat (limited to 'src/style.css')
-rw-r--r--src/style.css11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/style.css b/src/style.css
index e9e2186..a04df82 100644
--- a/src/style.css
+++ b/src/style.css
@@ -268,6 +268,15 @@ coinos-text[data-empty]:focus::before { content: none; }
.mono-input { font-family: var(--mono); }
.input-group { display: flex; gap: 8px; }
.input-group input { flex: 1; }
+/* the send recipient: one line that wraps and grows, so the whole address
+ is in view (rows set from its length; see destRows) */
+textarea.send-dest {
+ flex: 1; min-height: 0; resize: none; overflow-y: auto; line-height: 1.4;
+ font-size: inherit; word-break: break-all; white-space: pre-wrap;
+}
+/* the hint in the page's own face: narrower than the address font, so it
+ fits the one line beside Paste and Scan on a phone */
+textarea.send-dest::placeholder { font-family: var(--sans); }
/* unit toggle */
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; }
@@ -293,8 +302,6 @@ coinos-text[data-empty]:focus::before { content: none; }
.addr-actions button:hover { color: var(--ink); background: none; }
.addr-actions button:active { transform: none; }
.path { font-family: var(--mono); font-size: 12px; color: var(--faint); }
-.addr-check { font-family: var(--mono); font-size: 12px; line-height: 1.5; color: var(--muted); word-break: break-all; padding: 0 2px; }
-.addr-check .hl { color: var(--ink); font-weight: 700; }
/* ---- mnemonic grid ---- */
/* Three columns read ACROSS — 1 2 3 on the first line, 4 5 6 on the next —