Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
Fix:style of new line (#134)
KVOJJJin38754734a29a
diff --git a/web/app/components/datasets/create/file-preview/index.module.css b/web/app/components/datasets/create/file-preview/index.module.cssindex 8c2e767848f..f64f4936409 100644--- a/web/app/components/datasets/create/file-preview/index.module.css+++ b/web/app/components/datasets/create/file-preview/index.module.css@@ -43,4 +43,7 @@background: #f9fafb center no-repeat url(../assets/Loading.svg);background-size: contain;}+ .fileContent {+ white-space: pre-line;+ }\ No newline at end of filediff --git a/web/app/components/datasets/create/step-two/preview-item/index.tsx b/web/app/components/datasets/create/step-two/preview-item/index.tsxindex 4108ef4807c..1644e9b1027 100644--- a/web/app/components/datasets/create/step-two/preview-item/index.tsx+++ b/web/app/components/datasets/create/step-two/preview-item/index.tsx@@ -41,7 +41,7 @@ const PreviewItem: FC<IPreviewItemProps> = ({</div></div><div className='mt-2 max-h-[120px] line-clamp-6 overflow-hidden text-sm text-gray-800'>- {content}+ <div style={{ whiteSpace: 'pre-line'}}>{content}</div></div></div>)diff --git a/web/app/components/datasets/documents/detail/completed/style.module.css b/web/app/components/datasets/documents/detail/completed/style.module.cssindex d1eeaf67263..323315b9572 100644--- a/web/app/components/datasets/documents/detail/completed/style.module.css+++ b/web/app/components/datasets/documents/detail/completed/style.module.css@@ -45,6 +45,7 @@}.segModalContent {@apply h-96 text-gray-800 text-base overflow-y-scroll;+ white-space: pre-line;}.footer {@apply flex items-center justify-between box-border border-t-gray-200 border-t-[0.5px] pt-3 mt-4;