From 56a0840aa4d441075f86657f9da161ec3b345322 Mon Sep 17 00:00:00 2001 From: wizardchen Date: Mon, 16 Mar 2026 21:30:43 +0800 Subject: [PATCH] fix: adjust margins in AgentStreamDisplay component for improved layout - Reduced the bottom margin of the tree container from 16px to 10px for better spacing. - Increased the top margin of the answer toolbar from 4px to 10px to enhance visual separation. --- frontend/src/views/chat/components/AgentStreamDisplay.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/chat/components/AgentStreamDisplay.vue b/frontend/src/views/chat/components/AgentStreamDisplay.vue index f54afb45..de60fa23 100644 --- a/frontend/src/views/chat/components/AgentStreamDisplay.vue +++ b/frontend/src/views/chat/components/AgentStreamDisplay.vue @@ -1915,7 +1915,7 @@ const handleAddToKnowledge = (answerEvent: any) => { // ============ Tree View ============ .tree-container { - margin-bottom: 16px; + margin-bottom: 10px; position: relative; } @@ -2187,7 +2187,7 @@ const handleAddToKnowledge = (answerEvent: any) => { } .answer-toolbar { - margin-top: 4px; + margin-top: 10px; } }