fix proxy item style

This commit is contained in:
pompurin404 2024-08-15 22:05:32 +08:00
parent 6e9b7cdb10
commit 9fcbe67d28
No known key found for this signature in database

View File

@ -63,14 +63,10 @@ const ProxyItem: React.FC<Props> = (props) => {
>
<CardBody className="p-2">
<div className="flex justify-between items-center">
<div>
<div className="flag-emoji inline text-ellipsis whitespace-nowrap overflow-hidden">
{proxy.name}
</div>
<div className="text-ellipsis overflow-hidden whitespace-nowrap">
<div className="flag-emoji inline">{proxy.name}</div>
{proxyDisplayMode === 'full' && (
<div className="inline ml-2 text-ellipsis whitespace-nowrap overflow-hidden text-default-500">
{proxy.type}
</div>
<div className="inline ml-2 text-default-500">{proxy.type}</div>
)}
</div>
<Button