From 2753cbed97b8090b45ca9cb359816c816ddaae59 Mon Sep 17 00:00:00 2001 From: yangdx Date: Mon, 17 Mar 2025 05:00:32 +0800 Subject: [PATCH] Fix overflow issues in UI components - Set overflow-hidden for main container - Add overflow-auto to documents tab - Add overflow-hidden to graph and retrieval tabs - Set overflow-hidden for SigmaContainer - Set overflow-hidden for retrieval testing container --- lightrag_webui/src/App.tsx | 12 ++++++------ lightrag_webui/src/features/GraphViewer.tsx | 2 +- lightrag_webui/src/features/RetrievalTesting.tsx | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lightrag_webui/src/App.tsx b/lightrag_webui/src/App.tsx index b7d66b7e..8bb9517a 100644 --- a/lightrag_webui/src/App.tsx +++ b/lightrag_webui/src/App.tsx @@ -56,24 +56,24 @@ function App() { return ( -
+
- + - + - + - +
diff --git a/lightrag_webui/src/features/GraphViewer.tsx b/lightrag_webui/src/features/GraphViewer.tsx index b9404ca3..819d9625 100644 --- a/lightrag_webui/src/features/GraphViewer.tsx +++ b/lightrag_webui/src/features/GraphViewer.tsx @@ -182,7 +182,7 @@ const GraphViewer = () => { // Always render SigmaContainer but control its visibility with CSS return ( -
+
+