Skip to content
This repository was archived by the owner on Mar 29, 2026. It is now read-only.

Commit 9de981b

Browse files
committed
fix: remove unnecessary max-width properties in ChatScreen component
1 parent 2000709 commit 9de981b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

apps/web/src/components/chat/ChatScreen.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ export default function ChatScreen() {
188188
<AiThinking />
189189
) : isUser ? (
190190
<div
191-
className={`prose dark:prose-invert bg-accent text-accent-foreground min-w-0 max-w-none rounded-lg px-4 py-2 shadow-md`}>
191+
className={`prose dark:prose-invert bg-accent text-accent-foreground min-w-0 rounded-lg px-4 py-2 shadow-md`}>
192192
{cleanContent && <MemoMarkdown>{cleanContent}</MemoMarkdown>}
193193
</div>
194194
) : (
@@ -209,7 +209,7 @@ export default function ChatScreen() {
209209

210210
{/* AI Thought Process (Collapsible) */}
211211
<div
212-
className={`text-muted-foreground prose dark:prose-invert custom-scrollbar min-w-0 max-w-none overflow-hidden overflow-y-auto p-2 text-sm backdrop-blur-md transition-all ${
212+
className={`text-muted-foreground prose dark:prose-invert custom-scrollbar min-w-0 overflow-hidden overflow-y-auto p-2 text-sm backdrop-blur-md transition-all ${
213213
isThinkingOpen[id]
214214
? 'max-h-[1000px] opacity-100'
215215
: 'hidden max-h-0 opacity-0'
@@ -220,7 +220,7 @@ export default function ChatScreen() {
220220
)}
221221

222222
<div
223-
className={`prose dark:prose-invert bg-muted min-w-0 max-w-none rounded-lg px-4 py-2 shadow-md`}>
223+
className={`prose dark:prose-invert bg-muted min-w-0 rounded-lg px-4 py-2 shadow-md`}>
224224
{cleanContent && (
225225
<MemoMarkdown>{cleanContent}</MemoMarkdown>
226226
)}

0 commit comments

Comments
 (0)