From b83a3b62bc73b74d0c45bfd89dc2666dfe1ed16a Mon Sep 17 00:00:00 2001 From: dolphin Date: Wed, 15 Jul 2026 21:06:24 +0800 Subject: [PATCH 1/2] fix(platform): stop bench save buttons being clipped under license banner MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The bench 首页/订阅/应用中心 tabs anchor their bottom save buttons with absolute bottom-1 on CardContent, whose height is tuned via a 100vh-180px magic constant that assumes no CardContent bottom padding. These tabs kept CardContent's default p-5 (20px bottom padding) while the working 知识空间 tab uses p-0, so their content ran 20px taller. With slack that overshoot was absorbed, but when the license-expiry banner appears it consumes the slack and the buttons spill below the viewport, half-clipped. Add pb-0 to match the 知识空间 tab. --- src/frontend/platform/src/pages/BuildPage/bench/AppCenter.tsx | 2 +- src/frontend/platform/src/pages/BuildPage/bench/Subscribe.tsx | 2 +- src/frontend/platform/src/pages/BuildPage/bench/index.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/platform/src/pages/BuildPage/bench/AppCenter.tsx b/src/frontend/platform/src/pages/BuildPage/bench/AppCenter.tsx index 0e0de3be5..a3d1b2d85 100644 --- a/src/frontend/platform/src/pages/BuildPage/bench/AppCenter.tsx +++ b/src/frontend/platform/src/pages/BuildPage/bench/AppCenter.tsx @@ -64,7 +64,7 @@ export function AppCenter({ scopeVersion = 0 }: { scopeVersion?: number }) { return (
- +
- +
diff --git a/src/frontend/platform/src/pages/BuildPage/bench/index.tsx b/src/frontend/platform/src/pages/BuildPage/bench/index.tsx index 3306e63e8..7b093b242 100644 --- a/src/frontend/platform/src/pages/BuildPage/bench/index.tsx +++ b/src/frontend/platform/src/pages/BuildPage/bench/index.tsx @@ -171,7 +171,7 @@ export default function index({ scopeVersion = 0 }: { scopeVersion?: number }) { return (
- +
{/* Date: Wed, 15 Jul 2026 21:26:30 +0800 Subject: [PATCH 2/2] i18n(platform): shorten en-US tenant.management label to "Tenant" --- src/frontend/platform/public/locales/en-US/bs.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/platform/public/locales/en-US/bs.json b/src/frontend/platform/public/locales/en-US/bs.json index 46037737d..fcfa11a65 100644 --- a/src/frontend/platform/public/locales/en-US/bs.json +++ b/src/frontend/platform/public/locales/en-US/bs.json @@ -2162,7 +2162,7 @@ "more": "more", "chatTips": "1. Please comply with the Cybersecurity Law of the People's Republic of China, the Data Security Law of the People's Republic of China, the Personal Information Protection Law of the People's Republic of China, and the Basic Requirements for the Security of Generative Artificial Intelligence Services;\n2. It is forbidden to upload confidential data that falls within the scope of the company's confidentiality management regulations;\n3. It is forbidden to upload data containing personal privacy information;\n4. It is forbidden to upload files containing malicious programs or viruses;\n5. It is forbidden to use AI to generate offensive code;\n6. It is forbidden to ask AI questions involving but not limited to explosives, terrorism, pornography, and information that endangers national and public security;\n7. AI-generated content is subject to the company's confidentiality management regulations. Users should judge the reasonableness of the generated content based on the actual situation to avoid risks caused by AI hallucinations.", "com_preview_type_unsupported": "This file type is not supported for preview", - "tenant.management": "Tenant Management", + "tenant.management": "Tenant", "tenant.adminScope.label": "Admin View", "tenant.adminScope.global": "Full tree (default)", "tenant.adminScope.switched": "Switched admin view to {{name}}",