diff --git a/app/page.tsx b/app/page.tsx index ed926c1..bbd5d06 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -185,7 +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]"; + const badgeWidthClass = "w-[8.25rem]"; let sessionKey: string; if (pName === "feishu" && platform.botOpenId) { @@ -225,9 +225,9 @@ function PlatformBadge({ platform, agentId, gatewayPort, gatewayToken, gatewayHo title={t("agent.openChat")} className={`inline-flex items-center gap-0.5 px-2 py-0.5 rounded-full text-xs font-medium cursor-pointer transition-all hover:scale-105 hover:shadow-md min-w-0 ${badgeWidthClass} ${badgeStyle}`} > - {label} + {label} {pName === "feishu" && platform.accountId && ( - ({platform.accountId}) + ({platform.accountId}) )}