File tree Expand file tree Collapse file tree
apps/web/src/components/conversation/composer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,26 +38,24 @@ export function ClarificationPromptCard({
3838} : ClarificationPromptCardProps ) {
3939 return (
4040 < div className = { cn ( "px-2 pt-2 pb-2" , className ) } >
41- < div className = "flex items-start justify-between gap-4" >
42- < div className = "space-y-1" >
43- < div className = "flex w-full items-center justify-between gap-2" >
44- < div className = "font-medium text-sm" > Clarification</ div >
45- { onDismiss ? (
46- < Button
47- disabled = { isPending }
48- onClick = { onDismiss }
49- size = "icon-small"
50- type = "button"
51- variant = "ghost"
52- >
53- < Icon className = "size-3.5" name = "x" variant = "filled" />
54- </ Button >
55- ) : null }
56- </ div >
57- < p className = "max-w-[90%] text-balance text-muted-foreground text-sm" >
58- { topicSummary }
59- </ p >
41+ < div className = "flex w-full flex-col gap-1" >
42+ < div className = "flex w-full items-center justify-between gap-2" >
43+ < div className = "font-medium text-sm" > Clarification</ div >
44+ { onDismiss ? (
45+ < Button
46+ disabled = { isPending }
47+ onClick = { onDismiss }
48+ size = "icon-small"
49+ type = "button"
50+ variant = "ghost"
51+ >
52+ < Icon className = "size-3.5" name = "x" variant = "filled" />
53+ </ Button >
54+ ) : null }
6055 </ div >
56+ < p className = "max-w-[90%] text-balance text-muted-foreground text-sm" >
57+ { topicSummary }
58+ </ p >
6159 </ div >
6260
6361 < div className = "mt-6 flex flex-wrap items-center justify-end gap-2" >
You can’t perform that action at this time.
0 commit comments