From fa6d29603ae928d245d9c54f5833d4e1e5e16279 Mon Sep 17 00:00:00 2001 From: balibabu Date: Mon, 15 Jun 2026 16:53:45 +0800 Subject: [PATCH] Fix: Adjust chat line height. (#16021) ### What problem does this PR solve? Fix: Adjust chat line height. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- web/src/components/markdown-content/index.module.less | 2 +- web/src/components/next-markdown-content/index.module.less | 1 + web/src/pages/user-setting/data-source/constant/index.tsx | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/web/src/components/markdown-content/index.module.less b/web/src/components/markdown-content/index.module.less index d07097b28d..02eba0064d 100644 --- a/web/src/components/markdown-content/index.module.less +++ b/web/src/components/markdown-content/index.module.less @@ -1,4 +1,5 @@ .markdownContentWrapper { + line-height: 1.8; :global(details.think) { padding-inline-start: 10px; color: #8b8b8b; @@ -22,7 +23,6 @@ border-inline-start: 2px solid #a3d5c9; margin-bottom: 10px; font-size: 12px; - summary { cursor: pointer; font-weight: 500; diff --git a/web/src/components/next-markdown-content/index.module.less b/web/src/components/next-markdown-content/index.module.less index aa20ab010c..05ef45ed7e 100644 --- a/web/src/components/next-markdown-content/index.module.less +++ b/web/src/components/next-markdown-content/index.module.less @@ -1,4 +1,5 @@ .markdownContentWrapper { + line-height: 1.8; :global(details.think) { padding-inline-start: 10px; color: #8b8b8b; diff --git a/web/src/pages/user-setting/data-source/constant/index.tsx b/web/src/pages/user-setting/data-source/constant/index.tsx index 7e0fb9b4ad..12d93500b3 100644 --- a/web/src/pages/user-setting/data-source/constant/index.tsx +++ b/web/src/pages/user-setting/data-source/constant/index.tsx @@ -1097,7 +1097,7 @@ export const DataSourceFormFields = { ], [DataSourceKey.BOX]: [ { - label: 'Box OAuth JSON', + label: 'Box OAuth Configuration', name: 'config.credentials.box_tokens', type: FormFieldType.Textarea, required: true,