diff options
| author | Adam Soltys <[email protected]> | 2026-08-04 00:13:31 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-08-04 00:13:31 -0700 |
| commit | ea4b6192f34562e38eeff3e5c246f90646f1b37d (patch) | |
| tree | ec8c329e1fccca7ccefea48613a720fea77b005b | |
| parent | b75db0949961bb3b8c1b7e3b46e1ad0e4733ae8e (diff) | |
| download | coinosv3-ea4b6192f34562e38eeff3e5c246f90646f1b37d.tar.gz coinosv3-ea4b6192f34562e38eeff3e5c246f90646f1b37d.zip | |
Put the ostrich on the sign-in button
Same construction as the sign-in button on the unlock screen — .btn-block
forces display:block, so the flex centering lives on an inner wrapper
rather than the button.
Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi
| -rw-r--r-- | src/app.js | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -2180,11 +2180,15 @@ function onboardScreen() { try { await enterWallet(newMnemonic(), '', { generated: true }); } catch (e) { ui.onbError = e.message; } ui.onbBusy = false; render(); } }, ui.onbBusy ? h('span', { class: 'spinner sm' }) : t('onbStart')), + // Same shape as the sign-in button on the unlock screen: .btn-block + // forces display:block, so the flex centering goes on an inner wrapper. h('button', { class: 'btn-block', style: 'padding:14px', onClick: () => { o.step = 'signin'; ui.nostrLoginOpen = true; render(); - } }, t('nlSignIn')), + } }, h('span', { style: 'display:flex;align-items:center;justify-content:center;gap:8px' }, + h('span', { style: 'display:flex;flex-shrink:0', html: NOSTR_MARK }), + t('nlSignIn'))), ui.onbError ? h('div', { class: 'notice err' }, ui.onbError) : null, h('button', { class: 'linklike small', onClick: () => { ui.onbSkip = true; ui.onb = null; render(); } }, t('onbHaveWallet')), ]); |
