From cf311003c08d37029bf28502750459c131c0532b Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Fri, 19 Jan 2024 02:12:17 +0000 Subject: [PATCH] Fix some weird spacing. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4782 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- apps/ssb.json | 2 +- apps/ssb/tf-message.js | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/ssb.json b/apps/ssb.json index f350cc26..0162a463 100644 --- a/apps/ssb.json +++ b/apps/ssb.json @@ -1,5 +1,5 @@ { "type": "tildefriends-app", "emoji": "🐌", - "previous": "&6j+dB7MfKW+rrUTaoBMTVVEWCiIB/F84IWWvlVfsxH0=.sha256" + "previous": "&CRKRVQceT5DR5YXXdyLsCs9UjvNWKJ3B76D2SB5Gwy8=.sha256" } \ No newline at end of file diff --git a/apps/ssb/tf-message.js b/apps/ssb/tf-message.js index 6c4b0128..1b31c78e 100644 --- a/apps/ssb/tf-message.js +++ b/apps/ssb/tf-message.js @@ -213,9 +213,9 @@ class TfMessageElement extends LitElement { let self = this; if (this.message.child_messages?.length) { if (!this.expanded[this.message.id]) { - return html`

`; + return html``; } else { - return html`

${(this.message.child_messages || []).map(x => html``)}`; + return html`${(this.message.child_messages || []).map(x => html``)}`; } } } @@ -411,10 +411,10 @@ class TfMessageElement extends LitElement { ${payload} ${this.render_votes()} -
+

${reply} -

+

${this.render_children()} `; @@ -446,9 +446,9 @@ class TfMessageElement extends LitElement { ${content.text} ${this.render_votes()} -
+

-

+

${this.render_children()} `;