Skip to content

Commit 5ceb6fb

Browse files
author
Pompurin404
committed
fix styles
1 parent 3f7694f commit 5ceb6fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/renderer/src/pages/connections.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const Connections: React.FC = () => {
8080
title="连接"
8181
header={
8282
<div className="flex">
83-
<div className="flex items-center">
83+
<div className="flex items-center select-none">
8484
<span className="mx-1 text-gray-400">
8585
下载: {calcTraffic(connectionsInfo?.downloadTotal ?? 0)}{' '}
8686
</span>
@@ -126,7 +126,7 @@ const Connections: React.FC = () => {
126126
}}
127127
isHeaderSticky
128128
isStriped
129-
className="h-[calc(100vh-100px)] p-2"
129+
className="h-[calc(100vh-100px)] p-2 select-none"
130130
>
131131
<TableHeader>
132132
<TableColumn key="type" allowsSorting>
@@ -181,7 +181,7 @@ const Connections: React.FC = () => {
181181
{item.metadata.sniffHost ?? '-'}
182182
</TableCell>
183183
<TableCell className="max-w-[200px] text-ellipsis whitespace-nowrap overflow-hidden">
184-
{item.rule}:{item.rulePayload}
184+
{`${item.rule} ${item.rulePayload}`}
185185
</TableCell>
186186
<TableCell className="max-w-[200px] text-ellipsis whitespace-nowrap overflow-hidden">
187187
{item.chains.reverse().join('::')}

0 commit comments

Comments
 (0)