Skip to content

Commit

Permalink
fix styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Pompurin404 committed Aug 6, 2024
1 parent 3f7694f commit 5ceb6fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/renderer/src/pages/connections.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const Connections: React.FC = () => {
title="连接"
header={
<div className="flex">
<div className="flex items-center">
<div className="flex items-center select-none">
<span className="mx-1 text-gray-400">
下载: {calcTraffic(connectionsInfo?.downloadTotal ?? 0)}{' '}
</span>
Expand Down Expand Up @@ -126,7 +126,7 @@ const Connections: React.FC = () => {
}}
isHeaderSticky
isStriped
className="h-[calc(100vh-100px)] p-2"
className="h-[calc(100vh-100px)] p-2 select-none"
>
<TableHeader>
<TableColumn key="type" allowsSorting>
Expand Down Expand Up @@ -181,7 +181,7 @@ const Connections: React.FC = () => {
{item.metadata.sniffHost ?? '-'}
</TableCell>
<TableCell className="max-w-[200px] text-ellipsis whitespace-nowrap overflow-hidden">
{item.rule}:{item.rulePayload}
{`${item.rule} ${item.rulePayload}`}
</TableCell>
<TableCell className="max-w-[200px] text-ellipsis whitespace-nowrap overflow-hidden">
{item.chains.reverse().join('::')}
Expand Down

0 comments on commit 5ceb6fb

Please sign in to comment.