diff --git a/apps/ssb/tf-message.js b/apps/ssb/tf-message.js index 112c1164..9558f99b 100644 --- a/apps/ssb/tf-message.js +++ b/apps/ssb/tf-message.js @@ -318,10 +318,9 @@ class TfMessageElement extends LitElement { > + ${this.total_child_messages(this.message) + ' More'} </button> - `; + `; } else { - return html` - <div class="w3-container w3-margin-bottom"> + return html` <div class="w3-container w3-margin-bottom"> ${repeat( this.message.child_messages || [], (x) => x.id, @@ -342,8 +341,8 @@ class TfMessageElement extends LitElement { style="box-sizing: border-box" @click=${() => self.set_expanded(false)} > - Collapse</button - >`; + Collapse + </button>`; } } else { return undefined; @@ -553,12 +552,8 @@ class TfMessageElement extends LitElement { ` : undefined; return html` - <div class="w3-section w3-container"> - ${reply} - </div> - <footer> - ${this.render_children()} - </footer> + <div class="w3-section w3-container">${reply}</div> + <footer>${this.render_children()}</footer> `; } diff --git a/apps/storage/app.js b/apps/storage/app.js index 7b6c8908..91fd53a3 100644 --- a/apps/storage/app.js +++ b/apps/storage/app.js @@ -62,9 +62,7 @@ function nice_size(bytes) { } async function main() { - await app.setDocument( - '<p style="color: #fff">Analyzing feeds...</p>' - ); + await app.setDocument('<p style="color: #fff">Analyzing feeds...</p>'); let most_follows = get_most_follows(); let total = await get_total(); let identities = await ssb.getAllIdentities();