File tree Expand file tree Collapse file tree 3 files changed +5
-11
lines changed Expand file tree Collapse file tree 3 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -151,12 +151,7 @@ export default function App() {
151
151
152
152
return (
153
153
< div className = "flex h-screen bg-neutral-800 text-neutral-100 font-sans antialiased" >
154
- < main className = "flex-1 flex flex-col overflow-hidden max-w-4xl mx-auto w-full" >
155
- < div
156
- className = { `flex-1 overflow-y-auto ${
157
- thread . messages . length === 0 ? "flex" : ""
158
- } `}
159
- >
154
+ < main className = "h-full w-full max-w-4xl mx-auto" >
160
155
{ thread . messages . length === 0 ? (
161
156
< WelcomeScreen
162
157
handleSubmit = { handleSubmit }
@@ -188,7 +183,6 @@ export default function App() {
188
183
historicalActivities = { historicalActivities }
189
184
/>
190
185
) }
191
- </ div >
192
186
</ main >
193
187
</ div >
194
188
) ;
Original file line number Diff line number Diff line change @@ -253,9 +253,9 @@ export function ChatMessagesView({
253
253
}
254
254
} ;
255
255
return (
256
- < div className = "flex flex-col h-full overflow-hidden " >
257
- < ScrollArea className = "flex-1 min-h-0 " ref = { scrollAreaRef } >
258
- < div className = "p-4 md:p-6 pb-2 space-y-2 max-w-4xl mx-auto" >
256
+ < div className = "flex flex-col h-full" >
257
+ < ScrollArea className = "flex-1 overflow-y-auto " ref = { scrollAreaRef } >
258
+ < div className = "p-4 md:p-6 space-y-2 max-w-4xl mx-auto pt-16 " >
259
259
{ messages . map ( ( message , index ) => {
260
260
const isLast = index === messages . length - 1 ;
261
261
return (
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export const WelcomeScreen: React.FC<WelcomeScreenProps> = ({
15
15
onCancel,
16
16
isLoading,
17
17
} ) => (
18
- < div className = "flex flex-col items-center justify-center text-center px-4 flex-1 w-full max-w-3xl mx-auto gap-4" >
18
+ < div className = "h-full flex flex-col items-center justify-center text-center px-4 flex-1 w-full max-w-3xl mx-auto gap-4" >
19
19
< div >
20
20
< h1 className = "text-5xl md:text-6xl font-semibold text-neutral-100 mb-3" >
21
21
Welcome.
You can’t perform that action at this time.
0 commit comments