Skip to content

OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.

Python

update settings alignment

Mike Fortmanb85f374dbecf
diff --git a/frontend/app/chat/page.tsx b/frontend/app/chat/page.tsx
index 6c3ffaa43..fe0d660e9 100644
--- a/frontend/app/chat/page.tsx
+++ b/frontend/app/chat/page.tsx
@@ -1088,7 +1088,7 @@ function ChatPage() {
)}
<StickToBottom.Content className="flex flex-col min-h-full overflow-x-hidden p-6">
- <div className="flex flex-col place-self-center space-y-6 max-w-[960px] w-full mx-auto">
+ <div className="flex flex-col place-self-center space-y-6 max-w-content w-full mx-auto">
{messages.length === 0 && !streamingMessage ? (
<div className="flex items-center justify-center h-full text-muted-foreground">
<div className="text-center">
@@ -1209,7 +1209,7 @@ function ChatPage() {
)}
</div>
</StickToBottom.Content>
- <div className="p-6 pt-0 max-w-[960px] mx-auto w-full">
+ <div className="p-6 pt-0 max-w-content mx-auto w-full">
{/* Input Area - Fixed at bottom */}
<ChatInput
ref={chatInputRef}
diff --git a/frontend/components/chat-renderer.tsx b/frontend/components/chat-renderer.tsx
index d427cda63..840b934aa 100644
--- a/frontend/components/chat-renderer.tsx
+++ b/frontend/components/chat-renderer.tsx
@@ -301,7 +301,7 @@ export function ChatRenderer({
className={cn(
"h-full bg-background w-full",
showLayout && !isOnChatPage && "p-6 container",
- showLayout && isSmallWidthPath && "max-w-[920px] ml-0",
+ showLayout && isSmallWidthPath && "max-w-content mx-auto",
!showLayout && "p-0 py-2",
)}
>
diff --git a/frontend/tailwind.config.ts b/frontend/tailwind.config.ts
index 0ab91f16a..1f2ffc7ba 100644
--- a/frontend/tailwind.config.ts
+++ b/frontend/tailwind.config.ts
@@ -21,6 +21,9 @@ const config = {
},
},
extend: {
+ maxWidth: {
+ content: "960px",
+ },
screens: {
xl: "1200px",
"2xl": "1400px",