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 class="text-sm text-slate-500">
{proxyGroup.type}{' '}
{proxyGroup.now?.length > 0 && ` :: ${proxyGroup.now}`}{' '}
{byteSize(
speedGroupByName()[proxyGroup.name] ?? 0,
).toString()}
/s
<div class="flex items-center justify-between text-sm text-slate-500">
<span>
{proxyGroup.type}{' '}
{proxyGroup.now?.length > 0 && ` :: ${proxyGroup.now}`}
</span>
<span>
{byteSize(
speedGroupByName()[proxyGroup.name] ?? 0,
).toString()}
/s
</span>
</div>
<Show when={!collapsedMap()[proxyGroup.name]}>