From 2e396629e34b1d6c3f77d056b6be6c48a5b55209 Mon Sep 17 00:00:00 2001 From: chanx <1243304602@qq.com> Date: Mon, 20 Jul 2026 13:41:46 +0800 Subject: [PATCH] Fix: model provider save button label and light mode input background (#17081) ### Summary Fix: model provider save button label and light mode input background Co-authored-by: Wang Qi --- web/src/locales/en.ts | 1 - web/src/locales/zh.ts | 1 - .../user-setting/setting-model/layout/provider-header-bar.tsx | 2 +- web/tailwind.css | 2 +- 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/web/src/locales/en.ts b/web/src/locales/en.ts index 7c1cfd0932..2eb41ca8b9 100644 --- a/web/src/locales/en.ts +++ b/web/src/locales/en.ts @@ -1809,7 +1809,6 @@ Example: Virtual Hosted Style`, addInstance: 'Add instance', addInstanceText: 'Add instance', noInstancesConfigured: 'No instances configured yet.', - saveAll: 'Save all', editInstanceName: 'Edit instance name', models: 'Models', chatModel: 'LLM', diff --git a/web/src/locales/zh.ts b/web/src/locales/zh.ts index 2feec5d73a..8d6cc784f9 100644 --- a/web/src/locales/zh.ts +++ b/web/src/locales/zh.ts @@ -1502,7 +1502,6 @@ NER:使用 spaCy NER 和基于规则的关键词提取来抽取实体和关系 addInstance: '添加实例', addInstanceText: '添加实例', noInstancesConfigured: '尚未配置任何实例。', - saveAll: '保存', editInstanceName: '编辑实例名称', models: '模型', chatModel: 'LLM', diff --git a/web/src/pages/user-setting/setting-model/layout/provider-header-bar.tsx b/web/src/pages/user-setting/setting-model/layout/provider-header-bar.tsx index 8969132486..e545be2d9a 100644 --- a/web/src/pages/user-setting/setting-model/layout/provider-header-bar.tsx +++ b/web/src/pages/user-setting/setting-model/layout/provider-header-bar.tsx @@ -106,7 +106,7 @@ export function ProviderHeaderBar({ ) : ( )} - {tSetting('saveAll')} + {tSetting('save')} ); diff --git a/web/tailwind.css b/web/tailwind.css index 6cbf2a6d48..f5221704cd 100644 --- a/web/tailwind.css +++ b/web/tailwind.css @@ -95,7 +95,7 @@ /* card color , dividing line */ --bg-card: rgba(0, 0, 0, 0.05); --bg-component: #ffffff; - --bg-input: rgba(255, 255, 255, 0); + --bg-input: rgba(0, 0, 0, 0.05); --bg-canvas: 246 246 247; --bg-list: 246 246 247; /* Button ,Body text, Input completed text */