RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
fix: prevent collapse button from overlapping expanded content in next-search (#17157)
euvreff1274895f64
diff --git a/web/src/pages/next-search/expandable-content.tsx b/web/src/pages/next-search/expandable-content.tsxindex 310cd05875..5069606cad 100644--- a/web/src/pages/next-search/expandable-content.tsx+++ b/web/src/pages/next-search/expandable-content.tsx@@ -84,25 +84,25 @@ export default function ExpandableContent({<div className="absolute bottom-0 left-0 right-0 h-20 bg-gradient-to-t from-bg-base to-transparent pointer-events-none" />)}- {isOverflowing && (+ {isOverflowing && !isExpanded && (<Buttonsize="sm"onClick={toggleExpand}className="absolute bottom-2 left-1/2 -translate-x-1/2">- {isExpanded ? (- <>- <ChevronUp size={14} />- <span>{t('common.viewLess')}</span>- </>- ) : (- <>- <ChevronDown size={14} />- <span>{t('common.viewMore')}</span>- </>- )}+ <ChevronDown size={14} />+ <span>{t('common.viewMore')}</span></Button>)}++ {isOverflowing && isExpanded && (+ <div className="flex justify-center pt-2">+ <Button size="sm" onClick={toggleExpand}>+ <ChevronUp size={14} />+ <span>{t('common.viewLess')}</span>+ </Button>+ </div>+ )}</div>);}