ssb: Fiddling with message card and compose CSS some more.
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled

This commit is contained in:
2024-12-29 15:42:12 -05:00
parent 2f0b4a0187
commit 98f1700049
3 changed files with 36 additions and 29 deletions

View File

@ -320,6 +320,8 @@ ${JSON.stringify(mention, null, 2)}</pre
></tf-message>`
)}`;
}
} else {
return undefined;
}
}
@ -639,7 +641,7 @@ ${JSON.stringify(content, null, 2)}</pre
<span>${raw_button}</span>
</div>
${payload} ${this.render_votes()}
<p>
<footer class="w3-container">
${reply}
<button class="w3-button w3-theme-d1" @click=${this.react}>
React
@ -654,8 +656,8 @@ ${JSON.stringify(content, null, 2)}</pre
</button>
`
: undefined}
</p>
${this.render_children()}
${this.render_children()}
</footer>
</div>
`;
} else if (content.type === 'issue') {
@ -696,12 +698,12 @@ ${JSON.stringify(content, null, 2)}</pre
<span>${raw_button}</span>
</div>
${content.text} ${this.render_votes()}
<p>
<footer class="w3-container">
<button class="w3-button w3-theme-d1" @click=${this.react}>
React
</button>
</p>
${this.render_children()}
${this.render_children()}
</footer>
</div>
`;
} else if (content.type === 'blog') {
@ -792,13 +794,14 @@ ${JSON.stringify(content, null, 2)}</pre
<div>${body}</div>
${this.render_mentions()}
<div>
${this.render_votes()}
<footer class="w3-content">
${reply}
<button class="w3-button w3-theme-d1" @click=${this.react}>
React
</button>
</div>
${this.render_votes()} ${this.render_children()}
${this.render_children()}
</footer>
</div>
`;
} else if (content.type === 'pub') {