ssb: Whitespace around nested messages.
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled

This commit is contained in:
Cory McWilliams 2025-04-15 12:42:13 -04:00
parent c26bf5c112
commit 3c60f8ca06
2 changed files with 17 additions and 15 deletions

View File

@ -1,5 +1,5 @@
{ {
"type": "tildefriends-app", "type": "tildefriends-app",
"emoji": "🦀", "emoji": "🦀",
"previous": "&mHXzUyx8vCpgyzOdGjGQlL1qrbsoc32knUR066aIzTM=.sha256" "previous": "&jko2iokTaY2t/pD9m4ekMr0wsLjov3LVl9ShysXEjkE=.sha256"
} }

View File

@ -321,20 +321,22 @@ class TfMessageElement extends LitElement {
`; `;
} else { } else {
return html` return html`
${repeat( <div class="w3-container w3-margin-bottom">
this.message.child_messages || [], ${repeat(
(x) => x.id, this.message.child_messages || [],
(x) => (x) => x.id,
html`<tf-message (x) =>
.message=${x} html`<tf-message
whoami=${this.whoami} .message=${x}
.users=${this.users} whoami=${this.whoami}
.drafts=${this.drafts} .users=${this.users}
.expanded=${this.expanded} .drafts=${this.drafts}
channel=${this.channel} .expanded=${this.expanded}
channel_unread=${this.channel_unread} channel=${this.channel}
></tf-message>` channel_unread=${this.channel_unread}
)} ></tf-message>`
)}
</div>
<button <button
class="w3-button w3-theme-d1 w3-block w3-bar" class="w3-button w3-theme-d1 w3-block w3-bar"
style="box-sizing: border-box" style="box-sizing: border-box"