Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

fix(search-page): add overflow-x-auto and min-width to prevent layout issues (#18050)

chanx6b7334182709
diff --git a/web/src/pages/next-search/index.tsx b/web/src/pages/next-search/index.tsx
index 2d00e5eac0..4c392a1c6c 100644
--- a/web/src/pages/next-search/index.tsx
+++ b/web/src/pages/next-search/index.tsx
@@ -34,10 +34,10 @@ export default function SearchPage() {
return (
<section
- className="size-full flex-1 relative px-5 pb-5 flex pt-4"
+ className="size-full flex-1 relative px-5 pb-5 flex pt-4 overflow-x-auto"
data-testid="search-detail"
>
- <div className="flex gap-3 w-full bg-bg-base border-0.5 border-border-button">
+ <div className="flex gap-3 w-full bg-bg-base border-0.5 border-border-button min-w-[1280px] ">
<div className="flex-1 min-w-0">
{!isSearching && (
<div className="animate-fade-in-down">