chore: change style

This commit is contained in:
MystiPanda 2024-02-24 15:39:29 +08:00
parent 7f461b99e2
commit c309410965

View File

@ -99,10 +99,10 @@ export const ProxyItem = (props: Props) => {
title={proxy.name} title={proxy.name}
secondary={ secondary={
<> <>
<span style={{ marginRight: 4 }}>{proxy.name}</span> <span style={{ marginRight: 4 }}>
{showType && proxy.now && ( {proxy.name}
<TypeBox component="span">{proxy.now}</TypeBox> {showType && proxy.now && ` - ${proxy.now}`}
)} </span>
{showType && !!proxy.provider && ( {showType && !!proxy.provider && (
<TypeBox component="span">{proxy.provider}</TypeBox> <TypeBox component="span">{proxy.provider}</TypeBox>
)} )}