From 7f87714b580dcdf3a1b3584cad9b5b5afd17aad8 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Sun, 5 Jan 2025 21:43:26 -0500 Subject: [PATCH] ssb: Add some missing padding. --- apps/ssb.json | 2 +- apps/ssb/tf-message.js | 15 +++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/apps/ssb.json b/apps/ssb.json index 749b5040..79ea4588 100644 --- a/apps/ssb.json +++ b/apps/ssb.json @@ -1,5 +1,5 @@ { "type": "tildefriends-app", "emoji": "🦀", - "previous": "&Fukja09hc/jieMnfbFnQft1drL5lIR/du8wUQTKDYXc=.sha256" + "previous": "&jbL9Ab+XdvWnZbb50yimceFHR7XFDfBSWv9/XrbZ82I=.sha256" } diff --git a/apps/ssb/tf-message.js b/apps/ssb/tf-message.js index 0b25e899..d8d48fe7 100644 --- a/apps/ssb/tf-message.js +++ b/apps/ssb/tf-message.js @@ -589,19 +589,18 @@ class TfMessageElement extends LitElement { let image; let description; if (content.name !== undefined) { - name = html`
+ name = html`
Name: ${content.name}
`; } if (content.image !== undefined) { image = html` -
+
`; } if (content.description !== undefined) { description = html`
${unsafeHTML(tfutils.markdown(content.description))}
@@ -610,15 +609,17 @@ class TfMessageElement extends LitElement { } let update = content.about == this.message.author - ? html`
+ ? html`
Updated profile.
` - : html`
+ : html`
Updated profile for .
`; return this.render_small_frame(html` - ${update} ${name} ${image} ${description} +
+

${update} ${name} ${image} ${description}

+
`); } else if (content.type == 'contact') { return html` @@ -757,10 +758,12 @@ class TfMessageElement extends LitElement { } else if (content.type === 'channel') { return this.render_small_frame(html`
+

${content.subscribed ? 'subscribed to' : 'unsubscribed from'} #${content.channel} +

`); } else if (typeof this.message.content == 'string') {