ssb: Placeholder messages needed padding.
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled
This commit is contained in:
parent
f7602b39a1
commit
56c77c781a
@ -1,5 +1,5 @@
|
||||
{
|
||||
"type": "tildefriends-app",
|
||||
"emoji": "🦀",
|
||||
"previous": "&2ZH/mtbvbK35gpBMgZ5CjklFEbjWAcpr1fbVvCQma9E=.sha256"
|
||||
"previous": "&8oo0Movqf+EjqVRtP/TK9SJLoLFbXbnTH0F95sdI9q4=.sha256"
|
||||
}
|
||||
|
@ -566,10 +566,13 @@ class TfMessageElement extends LitElement {
|
||||
);
|
||||
} else if (this.message.placeholder) {
|
||||
return this.render_frame(
|
||||
html` <a target="_top" href=${'#' + encodeURIComponent(this.message.id)}
|
||||
>${this.message.id}</a
|
||||
>
|
||||
(placeholder)
|
||||
html`<div class="w3-padding">
|
||||
<p>
|
||||
<a target="_top" href=${'#' + encodeURIComponent(this.message.id)}
|
||||
>${this.message.id}</a
|
||||
>
|
||||
(placeholder)
|
||||
</p>
|
||||
<div>${this.render_votes()}</div>
|
||||
${(this.message.child_messages || []).map(
|
||||
(x) => html`
|
||||
@ -583,7 +586,8 @@ class TfMessageElement extends LitElement {
|
||||
channel_unread=${this.channel_unread}
|
||||
></tf-message>
|
||||
`
|
||||
)}`
|
||||
)}
|
||||
</div>`
|
||||
);
|
||||
} else if (typeof content?.type === 'string') {
|
||||
if (content.type == 'about') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user