matt HOFFNER commited on
Commit
d5151b8
β€’
1 Parent(s): 08463d2
src/components/ChatWindow.jsx CHANGED
@@ -169,7 +169,7 @@ function ChatWindow({
169
  className="w-full h-1 mt-2"
170
  style={{
171
  backgroundColor:
172
- !isReady || isGenerating ? "yellow" : "green",
173
  width: "100%",
174
  height: "5px",
175
  marginTop: "2px",
 
169
  className="w-full h-1 mt-2"
170
  style={{
171
  backgroundColor:
172
+ !isReady || isGenerating ? "gray" : "green",
173
  width: "100%",
174
  height: "5px",
175
  marginTop: "2px",
src/components/MessageList.jsx CHANGED
@@ -2,7 +2,6 @@ import useLLM from "@react-llm/headless";
2
  import { useEffect, useRef } from "react";
3
  import { MemoizedReactMarkdown } from './Markdown'
4
  import { CodeBlock } from './CodeBlock'
5
- import { ScrollView } from "react95";
6
 
7
  function MessageList({
8
  fileMode
@@ -22,7 +21,7 @@ function MessageList({
22
  }, [conversation, messages.length]);
23
 
24
  return (
25
- <ScrollView style={{ height: "65vh" }} className="w-full">
26
  <div className="p-2 leading-6 w-full min-h-full">
27
  {conversation?.messages.map((m) => (
28
  <div key={m.id} style={{ display: "flex" }}>
@@ -95,7 +94,7 @@ function MessageList({
95
  ))}
96
  <div ref={scrollRef}></div>
97
  </div>
98
- </ScrollView>
99
  );
100
  }
101
 
 
2
  import { useEffect, useRef } from "react";
3
  import { MemoizedReactMarkdown } from './Markdown'
4
  import { CodeBlock } from './CodeBlock'
 
5
 
6
  function MessageList({
7
  fileMode
 
21
  }, [conversation, messages.length]);
22
 
23
  return (
24
+ <div style={{ height: "75vh", overflowY: 'scroll' }} className="w-full">
25
  <div className="p-2 leading-6 w-full min-h-full">
26
  {conversation?.messages.map((m) => (
27
  <div key={m.id} style={{ display: "flex" }}>
 
94
  ))}
95
  <div ref={scrollRef}></div>
96
  </div>
97
+ </div>
98
  );
99
  }
100