Skip to content

Commit

Permalink
ui(frontend): allow new line in chat title (#633)
Browse files Browse the repository at this point in the history
close #604
  • Loading branch information
634750802 authored Feb 24, 2025
1 parent 2aa1a17 commit 29b7d6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function ConversationMessageGroup ({ group, isLastGroup }: { group: ChatMessageG
>
<Collapsible open={debugInfoOpen} onOpenChange={setDebugInfoOpen}>
<div className="relative pr-12">
<h2 className="text-2xl font-normal">{group.user.content}</h2>
<h2 className="text-2xl font-normal whitespace-pre-wrap">{group.user.content}</h2>
{enableDebug && <CollapsibleTrigger asChild>
<Button className="absolute right-0 top-0 z-0 rounded-full" variant="ghost" size="sm">
<InfoIcon className="h-4 w-4" />
Expand Down

0 comments on commit 29b7d6f

Please sign in to comment.