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", "type": "tildefriends-app",
"emoji": "🦀", "emoji": "🦀",
"previous": "&RltKappiEl1sZ1CJpZus2OwLLUWcyJN/wFkOJOd9n7w=.sha256" "previous": "&ViNc/3DepKybORDYRqBjsXbzX/wzy43nVI6UFy6vNBI=.sha256"
} }

View File

@ -286,7 +286,11 @@ class TfElement extends LitElement {
json(messages.content) LIKE '"%' json(messages.content) LIKE '"%'
ORDER BY sequence DESC 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); messages = (await this.decrypt(messages)).filter((x) => x.decrypted);
if (messages.length) { if (messages.length) {

View File

@ -476,7 +476,7 @@ class TfMessageElement extends LitElement {
} }
</style> </style>
<div <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%" style="overflow: auto; overflow-wrap: anywhere; display: block; max-width: 100%"
> >
${inner} ${inner}