From 4dc78d558fde352da83502809fb9f25e73ab53a4 Mon Sep 17 00:00:00 2001 From: mrsibe Date: Thu, 24 Sep 2026 18:24:11 +0800 Subject: [PATCH] fix(ui): remove the dashed border from the knowledge base empty state The Empty primitive draws a dashed rounded border. In the narrow knowledge base panel that outline reads as visual noise around an otherwise empty area, so the two knowledge-base empty states now opt out with border-none. The shared primitive and its documented dashed hairline are unchanged, so the home empty state keeps it. --- src/renderer/src/components/notebook/source/DocumentList.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/components/notebook/source/DocumentList.tsx b/src/renderer/src/components/notebook/source/DocumentList.tsx index 711cd0f..cbee7e9 100644 --- a/src/renderer/src/components/notebook/source/DocumentList.tsx +++ b/src/renderer/src/components/notebook/source/DocumentList.tsx @@ -33,7 +33,7 @@ export default function DocumentList({ // 未配置嵌入模型的提示(优先级最高) if (!hasEmbeddingModel && documents.length === 0) { return ( - + @@ -51,7 +51,7 @@ export default function DocumentList({ // 暂无文档的空状态(使用Empty组件重构) if (documents.length === 0) { return ( - +