From aa67ba1c15ce761666342e16a3194d3b5b0a4167 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 5 Sep 2026 00:17:57 -0700 Subject: Chat goes full-bleed on phones like the notes feed — the home list, community rooms and DM threads (now sharing a chat-page class) drop their card walls and run edge to edge under 520px — and the type steps up a notch: bubbles 14→15px, names 13→14px, timestamps 11→12px. Plus: a fixed-price LNURL (minSendable == maxSendable — bolt-card top-ups, paywalls, static charges) no longer prompts for an amount — resolve() fills it and locks the field via the same fixedSat machinery fixed-amount BOLT 12 offers already use (disabled input, adjusted hints, confirm bypass) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01MGzU12QrAA4G6BYGzGVdXz --- src/features/messages.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/features/messages.js') diff --git a/src/features/messages.js b/src/features/messages.js index 80230d6..a370097 100644 --- a/src/features/messages.js +++ b/src/features/messages.js @@ -2877,7 +2877,7 @@ export function messagesFeature(ctx) { memberCount ? t('msgMembers', { n: memberCount }) : t('msgEncrypted')))); }))); - return h('div', { class: 'card col', style: 'gap:10px' }, ...kids); + return h('div', { class: 'card col chat-page', style: 'gap:10px' }, ...kids); } function linkInviteCard() { @@ -2993,7 +2993,7 @@ export function messagesFeature(ctx) { keepBeating(); if (ch) ping(room, ch.id, PRESENCE); - return h('div', { class: 'card col chat-card' }, + return h('div', { class: 'card col chat-card chat-page' }, h('div', { class: 'row between chat-head' }, h('div', { class: 'row gap6', style: 'align-items:center;min-width:0' }, backBtn(() => { ui.msgView = 'home'; ui.msgReplyTo = null; ui.msgSheet = null; render(); }), @@ -3200,7 +3200,7 @@ export function messagesFeature(ctx) { h('span', { class: 'small muted chat-quote-text' }, String(m.rumor.content || '').replace(/\s+/g, ' ').slice(0, 90))), h('button', { class: 'chat-del', style: 'position:static;display:flex;flex-shrink:0', onClick: () => { ui.msgReplyTo = null; render(); } }, '×')); }; - return h('div', { class: 'card col chat-card' }, + return h('div', { class: 'card col chat-card chat-page' }, h('div', { class: 'row chat-head gap6', style: 'align-items:center' }, backBtn(() => { ui.msgView = 'home'; ui.msgReplyTo = null; ui.msgSheet = null; render(); }), avatar(peer), -- cgit v1.2.3