From b5872af27963e9419a61d102612acb4b30042d23 Mon Sep 17 00:00:00 2001
From: tonymoses10 <937043371@qq.com>
Date: Mon, 15 Jun 2026 20:26:51 +0800
Subject: [PATCH] Frontend operation button size optimization (#5343)
* Update ClientsPage.tsx
* Update GroupsPage.tsx
* Update RowActions.tsx
* Update NodeList.tsx
* Update BalancersTab.tsx
---
frontend/src/pages/clients/ClientsPage.tsx | 10 +++++-----
frontend/src/pages/groups/GroupsPage.tsx | 4 ++--
frontend/src/pages/inbounds/list/RowActions.tsx | 4 ++--
frontend/src/pages/nodes/NodeList.tsx | 8 ++++----
frontend/src/pages/xray/balancers/BalancersTab.tsx | 2 +-
5 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/frontend/src/pages/clients/ClientsPage.tsx b/frontend/src/pages/clients/ClientsPage.tsx
index 8721ffc35..5c5a01119 100644
--- a/frontend/src/pages/clients/ClientsPage.tsx
+++ b/frontend/src/pages/clients/ClientsPage.tsx
@@ -619,19 +619,19 @@ export default function ClientsPage() {
render: (_v, record) => (
- } onClick={() => onShowQr(record)} />
+ } onClick={() => onShowQr(record)} />
- } onClick={() => onShowInfo(record)} />
+ } onClick={() => onShowInfo(record)} />
- } onClick={() => onResetTraffic(record)} />
+ } onClick={() => onResetTraffic(record)} />
- } onClick={() => onEdit(record)} />
+ } onClick={() => onEdit(record)} />
- } onClick={() => onDelete(record)} />
+ } onClick={() => onDelete(record)} />
),
diff --git a/frontend/src/pages/groups/GroupsPage.tsx b/frontend/src/pages/groups/GroupsPage.tsx
index b0c6c6c10..a64a06f3d 100644
--- a/frontend/src/pages/groups/GroupsPage.tsx
+++ b/frontend/src/pages/groups/GroupsPage.tsx
@@ -407,10 +407,10 @@ export default function GroupsPage() {
render: (_v, row) => (
- } />
+ } />
- } onClick={() => openRename(row)} />
+ } onClick={() => openRename(row)} />
),
diff --git a/frontend/src/pages/inbounds/list/RowActions.tsx b/frontend/src/pages/inbounds/list/RowActions.tsx
index 3353a33e6..205b8a49d 100644
--- a/frontend/src/pages/inbounds/list/RowActions.tsx
+++ b/frontend/src/pages/inbounds/list/RowActions.tsx
@@ -69,7 +69,7 @@ export function RowActionsCell({ record, subEnable, hasClients, onClick }: RowAc
const { t } = useTranslation();
return (
- } onClick={() => onClick('edit')} />
+ } onClick={() => onClick('edit')} />
onClick(key as RowAction),
}}
>
- } />
+ } />
);
diff --git a/frontend/src/pages/nodes/NodeList.tsx b/frontend/src/pages/nodes/NodeList.tsx
index 27237561a..30c74044f 100644
--- a/frontend/src/pages/nodes/NodeList.tsx
+++ b/frontend/src/pages/nodes/NodeList.tsx
@@ -241,18 +241,18 @@ export default function NodeList({
) : (
- } onClick={() => onProbe(record)} />
+ } onClick={() => onProbe(record)} />
{isUpdateEligible(record) && (
- } onClick={() => onUpdateNode(record)} />
+ } onClick={() => onUpdateNode(record)} />
)}
- } onClick={() => onEdit(record)} />
+ } onClick={() => onEdit(record)} />
- } onClick={() => onDelete(record)} />
+ } onClick={() => onDelete(record)} />
),
diff --git a/frontend/src/pages/xray/balancers/BalancersTab.tsx b/frontend/src/pages/xray/balancers/BalancersTab.tsx
index e1172713a..dffc1f719 100644
--- a/frontend/src/pages/xray/balancers/BalancersTab.tsx
+++ b/frontend/src/pages/xray/balancers/BalancersTab.tsx
@@ -265,7 +265,7 @@ export default function BalancersTab({
align: 'center',
render: (_v, record) =>
(record.selector || []).map((sel) => (
-
+
{sel}
)),