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 ( -