diff --git a/lightrag_webui/src/features/DocumentManager.tsx b/lightrag_webui/src/features/DocumentManager.tsx index 31a37b13..b72f7082 100644 --- a/lightrag_webui/src/features/DocumentManager.tsx +++ b/lightrag_webui/src/features/DocumentManager.tsx @@ -91,7 +91,8 @@ const pulseStyle = ` z-index: 9999; /* Ensure tooltip appears above all other elements */ max-width: 600px; white-space: normal; - word-break: break-all; + word-break: break-word; + overflow-wrap: break-word; border-radius: 0.375rem; padding: 0.5rem 0.75rem; font-size: 0.75rem; /* 12px */ @@ -116,7 +117,8 @@ const pulseStyle = ` .tooltip pre { white-space: pre-wrap; - word-break: break-all; + word-break: break-word; + overflow-wrap: break-word; } /* Position tooltip helper class */