File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed
src/components/ai-elements Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,9 @@ export const DocsChatbot = ({
154154 ) }
155155 >
156156 < div className = "dcb:px-4 dcb:py-3 dcb:border-b dcb:bg-background dcb:rounded-lg dcb:flex-shrink-0" >
157- < h2 className = "dcb:text-lg dcb:font-sans dcb:font-semibold" > { title } </ h2 >
157+ < h2 className = "dcb:text-lg dcb:font-sans dcb:font-semibold dcb:text-foreground" >
158+ { title }
159+ </ h2 >
158160 </ div >
159161
160162 < Conversation className = "dcb:relative dcb:w-full dcb:h-full dcb:overflow-hidden" >
@@ -195,7 +197,9 @@ export const DocsChatbot = ({
195197 < Message key = { message . id } from = { message . role } >
196198 < MessageContent
197199 className = {
198- message . role === "assistant" ? "!dcb:max-w-full dcb:w-full" : ""
200+ message . role === "assistant"
201+ ? "!dcb:max-w-full dcb:w-full"
202+ : ""
199203 }
200204 >
201205 { message . parts . map ( ( part ) => {
@@ -269,7 +273,10 @@ export const DocsChatbot = ({
269273 />
270274 < PromptInputToolbar >
271275 < PromptInputTools > </ PromptInputTools >
272- < PromptInputSubmit status = { status } className = "dcb:cursor-pointer" />
276+ < PromptInputSubmit
277+ status = { status }
278+ className = "dcb:cursor-pointer"
279+ />
273280 </ PromptInputToolbar >
274281 </ PromptInputBody >
275282 </ PromptInput >
Original file line number Diff line number Diff line change @@ -55,7 +55,9 @@ export const ConversationEmptyState = ({
5555 < >
5656 { icon && < div className = "dcb:text-muted-foreground" > { icon } </ div > }
5757 < div className = "dcb:space-y-1" >
58- < h3 className = "dcb:font-medium dcb:font-sans dcb:text-sm" > { title } </ h3 >
58+ < h3 className = "dcb:font-medium dcb:text-foreground dcb:font-sans dcb:text-sm" >
59+ { title }
60+ </ h3 >
5961 { description && (
6062 < p className = "dcb:text-muted-foreground dcb:font-sans dcb:text-sm" >
6163 { description }
You can’t perform that action at this time.
0 commit comments