@@ -214,30 +214,30 @@ export default function CollectionCreatorAgent({ projectId, onInsertAll }) {
214214 } ;
215215
216216 return (
217- < div className = "flex flex-col lg:flex-row gap-5 h-full w-full font-sans overflow-hidden" >
217+ < div className = "flex flex-col lg:flex-row gap-8 h-full w-full font-sans overflow-hidden" >
218218
219219 { /* Open Chat Stream & Pinned Composer - Left */ }
220220 < div className = "flex flex-col flex-1 h-full min-w-0 overflow-hidden relative" >
221221
222222 { /* Messages Stream (Only this scrolls) */ }
223223 < div
224- className = "flex-1 overflow-y-auto custom-scrollbar pr-2 flex flex-col gap-3 min-h-0"
224+ className = "flex-1 overflow-y-auto custom-scrollbar pr-3 flex flex-col gap-4 min-h-0"
225225 >
226226 { messages . map ( ( msg ) => (
227227 < div key = { msg . id } className = { `flex ${ msg . role === 'user' ? 'justify-end' : 'justify-start' } ` } >
228228 < div
229229 style = { {
230230 maxWidth : '85%' ,
231- padding : '10px 16px ' ,
232- fontSize : '0.85rem ' ,
233- lineHeight : '1.55 ' ,
234- borderRadius : '14px ' ,
235- borderBottomRightRadius : msg . role === 'user' ? '3px ' : '14px ' ,
236- borderBottomLeftRadius : msg . role === 'assistant' ? '3px ' : '14px ' ,
231+ padding : '12px 18px ' ,
232+ fontSize : '0.875rem ' ,
233+ lineHeight : '1.6 ' ,
234+ borderRadius : '16px ' ,
235+ borderBottomRightRadius : msg . role === 'user' ? '4px ' : '16px ' ,
236+ borderBottomLeftRadius : msg . role === 'assistant' ? '4px ' : '16px ' ,
237237 backgroundColor : msg . role === 'user' ? 'var(--color-primary)' : 'var(--color-bg-card)' ,
238238 color : msg . role === 'user' ? '#000' : 'var(--color-text-main)' ,
239239 border : msg . role === 'assistant' ? '1px solid var(--color-border)' : 'none' ,
240- boxShadow : msg . role === 'assistant' ? '0 1px 4px rgba(0,0,0,0.05 )' : '0 2px 8px rgba(62,207,142,0.2 )' ,
240+ boxShadow : msg . role === 'assistant' ? '0 2px 8px rgba(0,0,0,0.06 )' : '0 3px 12px rgba(62,207,142,0.22 )' ,
241241 whiteSpace : 'pre-wrap'
242242 } }
243243 >
@@ -248,21 +248,21 @@ export default function CollectionCreatorAgent({ projectId, onInsertAll }) {
248248
249249 { /* Quick Start Suggestions on empty chat */ }
250250 { messages . length <= 1 && ! schema && (
251- < div className = "mt-1 flex flex-col gap-2" >
252- < span className = "text-[10px ] font-semibold text-[var(--color-text-muted)] uppercase tracking-wider pl-1" >
251+ < div className = "mt-2 flex flex-col gap-2.5 " >
252+ < span className = "text-[11px ] font-semibold text-[var(--color-text-muted)] uppercase tracking-wider pl-1" >
253253 Quick Start Ideas
254254 </ span >
255- < div className = "grid grid-cols-1 sm:grid-cols-2 gap-2" >
255+ < div className = "grid grid-cols-1 sm:grid-cols-2 gap-2.5 " >
256256 { SUGGESTIONS . map ( ( s , i ) => (
257257 < button
258258 key = { i }
259259 type = "button"
260260 onClick = { ( ) => sendMessage ( null , s . prompt ) }
261261 disabled = { aiStatus === 'loading' || iterationsLeft === 0 }
262- className = "text-left p-2.5 px-3 bg-[var(--color-bg-card)] border border-[var(--color-border)] hover:border-[var(--color-primary)] rounded-lg text-xs text-[var(--color-text-main)] flex items-center justify-between gap-2 transition-all cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed"
262+ className = "text-left p-3 px-3.5 bg-[var(--color-bg-card)] border border-[var(--color-border)] hover:border-[var(--color-primary)] rounded-xl text-xs font-medium text-[var(--color-text-main)] flex items-center justify-between gap-3 transition-all cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed shadow-sm hover:shadow "
263263 >
264264 < span className = "truncate" > { s . label } </ span >
265- < ArrowRight size = { 12 } className = "opacity-50 shrink-0" />
265+ < ArrowRight size = { 13 } className = "opacity-50 shrink-0" />
266266 </ button >
267267 ) ) }
268268 </ div >
@@ -271,8 +271,8 @@ export default function CollectionCreatorAgent({ projectId, onInsertAll }) {
271271
272272 { aiStatus === 'loading' && (
273273 < div className = "flex justify-start" >
274- < div className = "bg-[var(--color-bg-card)] p-2.5 px-4 rounded-xl rounded-bl-sm border border-[var(--color-border)] flex items-center gap-2.5 shadow-sm" >
275- < div className = "spinner-small w-3.5 h-3.5 border-t-[var(--color-primary)]" > </ div >
274+ < div className = "bg-[var(--color-bg-card)] p-3 px-4 rounded-xl rounded-bl-sm border border-[var(--color-border)] flex items-center gap-3 shadow-sm" >
275+ < div className = "spinner-small w-4 h-4 border-t-[var(--color-primary)]" > </ div >
276276 < span className = "text-xs text-[var(--color-text-muted)] font-medium" >
277277 AI is designing your schema...
278278 </ span >
@@ -283,9 +283,9 @@ export default function CollectionCreatorAgent({ projectId, onInsertAll }) {
283283 </ div >
284284
285285 { /* Pinned Bottom Composer */ }
286- < div className = "mt-auto pt-2 flex-shrink-0" >
286+ < div className = "mt-auto pt-3 flex-shrink-0" >
287287 < div
288- className = "relative flex items-end bg-[var(--color-bg-card)] border border-[var(--color-border)] rounded-xl p-2 px-3 shadow-lg transition-all focus-within:border-[var(--color-primary)]"
288+ className = "relative flex items-end bg-[var(--color-bg-card)] border border-[var(--color-border)] rounded-xl p-2.5 px-4 shadow-lg transition-all focus-within:border-[var(--color-primary)] focus-within:ring-1 focus-within:ring-[var(--color-primary)]/30 "
289289 >
290290 < textarea
291291 ref = { textareaRef }
@@ -296,16 +296,16 @@ export default function CollectionCreatorAgent({ projectId, onInsertAll }) {
296296 placeholder = { iterationsLeft === 0 ? "Turn limit reached. Add Groq key in Settings." : "Describe your app (e.g. e-commerce store, booking system, CRM...)" }
297297 aria-label = "Message the schema assistant"
298298 rows = { 1 }
299- className = "w-full bg-transparent border-0 outline-none text-[var(--color-text-main)] text-xs leading-relaxed resize-none max-h-[100px ] min-h-[24px ] py-1 placeholder:text-[var(--color-text-muted)]"
299+ className = "w-full bg-transparent border-0 outline-none text-[var(--color-text-main)] text-sm leading-relaxed resize-none max-h-[110px ] min-h-[26px ] py-1 placeholder:text-[var(--color-text-muted)]"
300300 />
301301 < button
302302 type = "button"
303303 onClick = { sendMessage }
304304 disabled = { ! inputValue . trim ( ) || aiStatus === 'loading' || ( iterationsLeft === 0 ) }
305- className = "flex items-center justify-center w-7 h-7 rounded-lg bg-[var(--color-primary)] text-black border-0 cursor-pointer disabled:opacity-35 disabled:cursor-not-allowed transition-all shrink-0 ml-2"
305+ className = "flex items-center justify-center w-8 h-8 rounded-lg bg-[var(--color-primary)] text-black border-0 cursor-pointer disabled:opacity-35 disabled:cursor-not-allowed transition-all shrink-0 ml-2.5 font-semibold "
306306 title = "Send message (Enter)"
307307 >
308- < Send size = { 13 } />
308+ < Send size = { 14 } />
309309 </ button >
310310 </ div >
311311 { getIterationsBadge ( ) }
0 commit comments