fix: improve readability for dlspeed preview (#932)

This commit is contained in:
YetAnotherZephyruso 2024-08-22 11:06:16 +08:00 committed by GitHub
parent b618c52c95
commit 3727122b95
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -212,13 +212,17 @@ export default () => {
/> />
</div> </div>
<div class="text-sm text-slate-500"> <div class="flex items-center justify-between text-sm text-slate-500">
{proxyGroup.type}{' '} <span>
{proxyGroup.now?.length > 0 && ` :: ${proxyGroup.now}`}{' '} {proxyGroup.type}{' '}
{byteSize( {proxyGroup.now?.length > 0 && ` :: ${proxyGroup.now}`}
speedGroupByName()[proxyGroup.name] ?? 0, </span>
).toString()} <span>
/s {byteSize(
speedGroupByName()[proxyGroup.name] ?? 0,
).toString()}
/s
</span>
</div> </div>
<Show when={!collapsedMap()[proxyGroup.name]}> <Show when={!collapsedMap()[proxyGroup.name]}>