Skip to content

Commit 66b0f44

Browse files
Increase chat container max-width for better visibility on large screens
1 parent 1938275 commit 66b0f44

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎frontend/src/components/Chat/ChatInterface.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,15 +325,15 @@ export const ChatInterface: React.FC = () => {
325325
};
326326

327327
return (
328-
<div className="main-content" style={{ padding: '2rem', maxWidth: '800px', margin: '0 auto', width: '100%' }}>
328+
<div className="main-content" style={{ padding: '2rem', maxWidth: '1200px', margin: '0 auto', width: '100%' }}>
329329
<h2 style={{ marginBottom: '1.5rem' }}>Math Assistant</h2>
330330

331331
<div className="glass" style={{ flex: 1, overflowY: 'auto', padding: '1.5rem', marginBottom: '1rem', display: 'flex', flexDirection: 'column', gap: '1rem', borderRadius: '12px' }}>
332332
{messages.length === 0 && (
333333
<div className="animate-fade-in" style={{ flex: 1, display: 'flex', flexDirection: 'column', alignItems: 'center', justifyContent: 'center', textAlign: 'center', padding: '2rem', opacity: 0.8 }}>
334334
<h2 className="text-gradient" style={{ fontSize: '2rem', marginBottom: '1rem' }}>How can I help you learn today?</h2>
335335
<p style={{ color: 'hsl(var(--text-secondary))', marginBottom: '2rem' }}>Ask any math question or upload a document to get started.</p>
336-
<div style={{ display: 'flex', gap: '1rem', flexWrap: 'wrap', justifyContent: 'center', maxWidth: '600px' }}>
336+
<div style={{ display: 'flex', gap: '1rem', flexWrap: 'wrap', justifyContent: 'center', maxWidth: '800px' }}>
337337
{["Solve a quadratic equation", "Explain calculus limits", "Help with trigonometry", "Graph a parabola"].map(q => (
338338
<button key={q} className="btn glass-panel" style={{ color: 'hsl(var(--text-primary))', fontSize: '0.9rem' }} onClick={() => setInput(q)}>
339339
{q}

0 commit comments

Comments
 (0)