forked from cory/tildefriends
ssb: Update ebt received value on the fly.
This commit is contained in:
@ -109,7 +109,9 @@ class TfTabConnectionsElement extends LitElement {
|
||||
<div class="w3-theme-d1 w3-small">
|
||||
<div
|
||||
class="w3-container w3-theme-l1"
|
||||
style="width: ${Math.floor((100.0 * value) / max)}%; text-wrap: nowrap"
|
||||
style="width: ${Math.floor(
|
||||
(100.0 * value) / max
|
||||
)}%; text-wrap: nowrap"
|
||||
>
|
||||
${name} ${value} / ${max} (${Math.round((100.0 * value) / max)}%)
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user