Skip to content

LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows

FIX: Layout Preserving of Indexed Data Modal (#529)

Tahier Hussaine913dd7e8726
diff --git a/frontend/src/components/custom-tools/document-manager/DocumentManager.css b/frontend/src/components/custom-tools/document-manager/DocumentManager.css
index 29c3913de..fe12d0afc 100644
--- a/frontend/src/components/custom-tools/document-manager/DocumentManager.css
+++ b/frontend/src/components/custom-tools/document-manager/DocumentManager.css
@@ -27,6 +27,7 @@
}
.text-viewer-layout {
+ height: 100%;
padding: 0px 12px;
flex: 1;
overflow-y: auto;
diff --git a/frontend/src/components/custom-tools/prompt-card/OutputForIndex.jsx b/frontend/src/components/custom-tools/prompt-card/OutputForIndex.jsx
index 1f29cc8a1..ecc9fc88b 100644
--- a/frontend/src/components/custom-tools/prompt-card/OutputForIndex.jsx
+++ b/frontend/src/components/custom-tools/prompt-card/OutputForIndex.jsx
@@ -3,6 +3,8 @@ import { Modal } from "antd";
import "./PromptCard.css";
import { uniqueId } from "lodash";
+import { TextViewerPre } from "../text-viewer-pre/TextViewerPre";
+
function OutputForIndex({ chunkData, setIsIndexOpen, isIndexOpen }) {
const handleClose = () => {
setIsIndexOpen(false);
@@ -36,7 +38,9 @@ function OutputForIndex({ chunkData, setIsIndexOpen, isIndexOpen }) {
footer={null}
width={1000}
>
- <div className="index-output-tab">{renderContent(lines)}</div>
+ <div className="index-output-tab">
+ <TextViewerPre text={renderContent(lines)} />
+ </div>
</Modal>
);
}