ssb: Reduce message margins.

This commit is contained in:
Cory McWilliams 2025-01-02 21:16:49 -05:00
parent 0c9f5769d3
commit 3513619221
3 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{
"type": "tildefriends-app",
"emoji": "🦀",
"previous": "&RltKappiEl1sZ1CJpZus2OwLLUWcyJN/wFkOJOd9n7w=.sha256"
"previous": "&ViNc/3DepKybORDYRqBjsXbzX/wzy43nVI6UFy6vNBI=.sha256"
}

View File

@ -286,7 +286,11 @@ class TfElement extends LitElement {
json(messages.content) LIKE '"%'
ORDER BY sequence DESC
`,
[JSON.stringify(following), latest - k_chunk_count, latest]
[
JSON.stringify(following),
latest - k_chunk_count,
latest,
]
);
messages = (await this.decrypt(messages)).filter((x) => x.decrypted);
if (messages.length) {

View File

@ -476,7 +476,7 @@ class TfMessageElement extends LitElement {
}
</style>
<div
class="w3-card-4 ${this.class_background()} w3-border-theme w3-margin"
class="w3-card-4 ${this.class_background()} w3-border-theme w3-margin-top"
style="overflow: auto; overflow-wrap: anywhere; display: block; max-width: 100%"
>
${inner}