ssb: Simplify some things to make funky layout issues with the sync now / stay connected buttons go away.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 31m3s

This commit is contained in:
2025-09-24 13:43:33 -04:00
parent 00fd208a2c
commit 446b1f8600
3 changed files with 10 additions and 3 deletions

View File

@@ -800,14 +800,13 @@ class TfElement extends LitElement {
class="w3-bar w3-theme-l1"
style="position: static; top: 0; z-index: 10"
>
${this.is_administrator && self.tab != 'news'
${this.is_administrator
? html`
<button
class=${'w3-bar-item w3-button w3-circle w3-ripple' +
(this.connections?.some((x) => x.flags.one_shot)
? ' w3-spin'
: '')}
style="width: 1.5em; height: 1.5em; padding: 8px"
@click=${this.refresh}
>