From 64f96e031e6ea219cc03eb8aa2cc4d0cf7e1f4e4 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 2 Aug 2026 17:44:39 -0700 Subject: Chat home: New message / Join / Create as real buttons They rendered as linklike text, indistinguishable from the section headings beside them; btn-sm gives them borders and weight. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi --- src/features/messages.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/features/messages.js b/src/features/messages.js index 25e6f7a..eedeb6a 100644 --- a/src/features/messages.js +++ b/src/features/messages.js @@ -797,7 +797,7 @@ export function messagesFeature(ctx) { // ---- DMs kids.push(h('div', { class: 'row between', style: 'align-items:baseline' }, h('h3', { style: 'margin:0' }, t('msgDmsTitle')), - h('button', { class: 'linklike', onClick: () => { ui.msgHomePanel = ui.msgHomePanel === 'newdm' ? null : 'newdm'; render(); } }, t('msgNewDm')))); + h('button', { class: 'btn-sm', onClick: () => { ui.msgHomePanel = ui.msgHomePanel === 'newdm' ? null : 'newdm'; render(); } }, t('msgNewDm')))); if (ui.msgHomePanel === 'newdm') kids.push(h('div', { class: 'row gap6' }, h('input', { @@ -835,8 +835,8 @@ export function messagesFeature(ctx) { kids.push(h('div', { class: 'row between mt16', style: 'align-items:baseline' }, h('h3', { style: 'margin:0' }, t('msgCommunitiesTitle')), h('div', { class: 'row gap6' }, - h('button', { class: 'linklike', onClick: () => { ui.msgHomePanel = ui.msgHomePanel === 'join' ? null : 'join'; render(); } }, t('msgJoin')), - h('button', { class: 'linklike', onClick: () => { ui.msgHomePanel = ui.msgHomePanel === 'create' ? null : 'create'; render(); } }, t('msgCreate'))))); + h('button', { class: 'btn-sm', onClick: () => { ui.msgHomePanel = ui.msgHomePanel === 'join' ? null : 'join'; render(); } }, t('msgJoin')), + h('button', { class: 'btn-sm', onClick: () => { ui.msgHomePanel = ui.msgHomePanel === 'create' ? null : 'create'; render(); } }, t('msgCreate'))))); if (ui.msgHomePanel === 'join') kids.push(h('div', { class: 'row gap6' }, h('input', { -- cgit v1.2.3