Skip to content

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

381 B
Raw Blame
import { cn } from '@/lib/utils';

/**
 * Basic page container:
 * - Full size
 * - Padding x=2.5rem top=0.75rem
 * - Auto scrollbar
 */
export function PageContainer({
  className,
  ...props
}: React.PropsWithChildren<React.HTMLAttributes<HTMLDivElement>>) {
  return (
    <div
      className={cn('size-full px-5 py-3 overflow-auto', className)}
      {...props}
    />
  );
}