MingruiZhang commited on
Commit
9dbd434
β€’
1 Parent(s): 1f931d5

fix styles

Browse files
app/layout.tsx CHANGED
@@ -53,7 +53,7 @@ export default function RootLayout(props: RootLayoutProps) {
53
  >
54
  <div className="flex flex-col min-h-screen">
55
  <Header />
56
- <main className="flex max-h-[calc(100vh-64px)] flex-col flex-1 bg-muted/50 overflow-hidden">
57
  {children}
58
  </main>
59
  </div>
 
53
  >
54
  <div className="flex flex-col min-h-screen">
55
  <Header />
56
+ <main className="flex py-8 h-[calc(100vh-64px)] bg-muted/50 overflow-hidden relative">
57
  {children}
58
  </main>
59
  </div>
components/chat/ChatClient.tsx CHANGED
@@ -23,7 +23,7 @@ const ChatClient: React.FC<ChatClientProps> = ({ chat }) => {
23
 
24
  return (
25
  <div
26
- className="h-full my-8 overflow-auto mx-auto max-w-5xl border rounded-lg relative"
27
  ref={scrollRef}
28
  >
29
  <div className="overflow-auto h-full pt-6 px-6" ref={messagesRef}>
 
23
 
24
  return (
25
  <div
26
+ className="h-full overflow-auto mx-auto max-w-full w-[800px] border rounded-lg"
27
  ref={scrollRef}
28
  >
29
  <div className="overflow-auto h-full pt-6 px-6" ref={messagesRef}>
components/chat/Composer.tsx CHANGED
@@ -105,7 +105,7 @@ export function Composer({
105
  onChange={e => setInput(e.target.value)}
106
  placeholder={isLoading ? 'πŸ€– ✨ ...' : 'Message Vision Agent'}
107
  spellCheck={false}
108
- className="grow resize-none bg-transparent focus-within:outline-none text-sm"
109
  />
110
  {/* Stop / Regenerate Icon */}
111
  {/* <div className="absolute bottom-14 right-4">
 
105
  onChange={e => setInput(e.target.value)}
106
  placeholder={isLoading ? 'πŸ€– ✨ ...' : 'Message Vision Agent'}
107
  spellCheck={false}
108
+ className="w-full grow resize-none bg-transparent focus-within:outline-none text-sm"
109
  />
110
  {/* Stop / Regenerate Icon */}
111
  {/* <div className="absolute bottom-14 right-4">