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: splitting text ui broken (#1848)
Joel972cf3cd01cf
diff --git a/web/app/components/datasets/create/step-two/index.module.css b/web/app/components/datasets/create/step-two/index.module.cssindex 622ca1e73ab..7ad0bbc81ff 100644--- a/web/app/components/datasets/create/step-two/index.module.css+++ b/web/app/components/datasets/create/step-two/index.module.css@@ -262,6 +262,7 @@font-size: 13px;line-height: 18px;}+.input {@apply inline-flex h-9 w-full py-1 px-2 rounded-lg text-xs leading-normal;@apply bg-gray-100 caret-primary-600 hover:bg-gray-100 focus:ring-1 focus:ring-inset focus:ring-gray-200 focus-visible:outline-none focus:bg-white placeholder:text-gray-400;@@ -316,9 +317,11 @@.fileIcon.json {background-image: url(../assets/json.svg);}+.sourceContent {flex: 1 1 auto;}+.sourceCount {@apply shrink-0 ml-1;font-weight: 500;@@ -326,6 +329,7 @@line-height: 18px;color: #667085;}+.segmentCount {flex: 1 1 30%;max-width: 120px;@@ -382,6 +386,10 @@.previewWrap {flex-shrink: 0;+ width: 524px;+}++.previewWrap.isMobile {max-width: 524px;}@@ -410,15 +418,17 @@backdrop-filter: blur(4px);animation: fix 0.5s;}+@keyframes fix {from {padding-top: 42px;font-size: 18px;line-height: 28px;}+to {padding-top: 12px;font-size: 12px;line-height: 18px;}-}+}\ No newline at end of filediff --git a/web/app/components/datasets/create/step-two/index.tsx b/web/app/components/datasets/create/step-two/index.tsxindex f9692bc8fae..69e83c232bf 100644--- a/web/app/components/datasets/create/step-two/index.tsx+++ b/web/app/components/datasets/create/step-two/index.tsx@@ -820,7 +820,7 @@ const StepTwo = ({</div></div><FloatRightContainer isMobile={isMobile} isOpen={showPreview} onClose={hidePreview} footer={null}>- {showPreview && <div ref={previewScrollRef} className={cn(s.previewWrap, 'relative h-full overflow-y-scroll border-l border-[#F2F4F7]')}>+ {showPreview && <div ref={previewScrollRef} className={cn(s.previewWrap, isMobile && s.isMobile, 'relative h-full overflow-y-scroll border-l border-[#F2F4F7]')}><div className={cn(s.previewHeader, previewScrolled && `${s.fixed} pb-3`)}><div className='flex items-center justify-between px-8'><div className='grow flex items-center'>