From 7a290ca657e5ac236aaa547746566c69286ddccf Mon Sep 17 00:00:00 2001 From: xmanrui <841206367@qq.com> Date: Mon, 2 Mar 2026 04:26:15 +0800 Subject: [PATCH] refine platform badge spacing and always show feishu suffix --- app/page.tsx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/app/page.tsx b/app/page.tsx index 490b472..ed926c1 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -185,6 +185,7 @@ interface PlatformTestResult { // 平台标签颜色 function PlatformBadge({ platform, agentId, gatewayPort, gatewayToken, gatewayHost, t, testResult }: { platform: Platform; agentId: string; gatewayPort: number; gatewayToken?: string; gatewayHost?: string; t: TFunc; testResult?: PlatformTestResult | null }) { const pName = platform.name; + const badgeWidthClass = "w-[7.25rem]"; let sessionKey: string; if (pName === "feishu" && platform.botOpenId) { @@ -215,29 +216,29 @@ function PlatformBadge({ platform, agentId, gatewayPort, gatewayToken, gatewayHo : t("platform.discord"); return ( -