@@ -85,21 +85,21 @@ export default function Home() {
85
85
} , [ messages ] ) ;
86
86
87
87
return (
88
- < div className = "w-full h-full grid grid-cols-2 " >
89
- < div className = "col-span-1" >
90
- < div className = "w-full h-full border-r border-dashed border-gray-400" >
88
+ < div className = "w-full h-full grid grid-cols-1 grid-rows-2 md:grid-cols-2 md:grid-rows-1 " >
89
+ < div className = "col-span-1 row-span-1 " >
90
+ < div className = "w-full h-full border-b md:border-b-0 md:border- r border-dashed border-gray-400" >
91
91
{ /* Placeholder */ }
92
- < div className = "w-full h-full flex items-center justify-center p-1 " >
92
+ < div className = "w-full h-full flex items-center justify-center" >
93
93
{ liveUrl != null ? (
94
- < iframe src = { liveUrl } className = "w-full h-full border border-dashed border-gray-400 " />
94
+ < iframe src = { liveUrl } className = "w-full h-full border border-transparent " />
95
95
) : (
96
96
< Image src = "/browseruse.svg" alt = "logo" width = { 40 } height = { 40 } className = "size-16 object-contain" />
97
97
) }
98
98
</ div >
99
99
</ div >
100
100
</ div >
101
- < div className = "col-span-1 h-full flex flex-col overflow-hidden" >
102
- < Conversation className = "flex-1 overflow-hidden" >
101
+ < div className = "col-span-1 row-span-1 h-full flex flex-col overflow-hidden" >
102
+ < Conversation className = "flex-1 overflow-hidden border-r border-transparent " >
103
103
< ConversationContent >
104
104
{ messages . map ( ( message ) => (
105
105
< Message key = { message . id } from = { message . role } >
@@ -125,7 +125,7 @@ export default function Home() {
125
125
isStreaming = { status === "streaming" }
126
126
>
127
127
< ReasoningTrigger />
128
- < ReasoningContent > Starting task ...</ ReasoningContent >
128
+ < ReasoningContent > Starting browser ...</ ReasoningContent >
129
129
</ Reasoning >
130
130
) ;
131
131
}
@@ -135,7 +135,11 @@ export default function Home() {
135
135
}
136
136
137
137
return (
138
- < Reasoning key = { `${ message . id } -${ i } ` } className = "w-full" isStreaming = { status === "streaming" } >
138
+ < Reasoning
139
+ key = { `${ message . id } -${ i } ` }
140
+ className = "w-full mb-0"
141
+ isStreaming = { status === "streaming" }
142
+ >
139
143
< ReasoningTrigger />
140
144
< ReasoningContent > { part . output . lastStep . nextGoal } </ ReasoningContent >
141
145
</ Reasoning >
0 commit comments