mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-27 21:20:29 +08:00
fix styles
This commit is contained in:
parent
e4d4b54874
commit
8897182d13
@ -80,7 +80,7 @@ const Connections: React.FC = () => {
|
|||||||
title="连接"
|
title="连接"
|
||||||
header={
|
header={
|
||||||
<div className="flex">
|
<div className="flex">
|
||||||
<div className="flex items-center">
|
<div className="flex items-center select-none">
|
||||||
<span className="mx-1 text-gray-400">
|
<span className="mx-1 text-gray-400">
|
||||||
下载: {calcTraffic(connectionsInfo?.downloadTotal ?? 0)}{' '}
|
下载: {calcTraffic(connectionsInfo?.downloadTotal ?? 0)}{' '}
|
||||||
</span>
|
</span>
|
||||||
@ -126,7 +126,7 @@ const Connections: React.FC = () => {
|
|||||||
}}
|
}}
|
||||||
isHeaderSticky
|
isHeaderSticky
|
||||||
isStriped
|
isStriped
|
||||||
className="h-[calc(100vh-100px)] p-2"
|
className="h-[calc(100vh-100px)] p-2 select-none"
|
||||||
>
|
>
|
||||||
<TableHeader>
|
<TableHeader>
|
||||||
<TableColumn key="type" allowsSorting>
|
<TableColumn key="type" allowsSorting>
|
||||||
@ -181,7 +181,7 @@ const Connections: React.FC = () => {
|
|||||||
{item.metadata.sniffHost ?? '-'}
|
{item.metadata.sniffHost ?? '-'}
|
||||||
</TableCell>
|
</TableCell>
|
||||||
<TableCell className="max-w-[200px] text-ellipsis whitespace-nowrap overflow-hidden">
|
<TableCell className="max-w-[200px] text-ellipsis whitespace-nowrap overflow-hidden">
|
||||||
{item.rule}:{item.rulePayload}
|
{`${item.rule} ${item.rulePayload}`}
|
||||||
</TableCell>
|
</TableCell>
|
||||||
<TableCell className="max-w-[200px] text-ellipsis whitespace-nowrap overflow-hidden">
|
<TableCell className="max-w-[200px] text-ellipsis whitespace-nowrap overflow-hidden">
|
||||||
{item.chains.reverse().join('::')}
|
{item.chains.reverse().join('::')}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user