Skip to content

Commit

Permalink
fix: reduce font-weight for message (janhq#3018)
Browse files Browse the repository at this point in the history
  • Loading branch information
urmauur authored Jun 11, 2024
1 parent 44536ec commit 93fc228
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ const SimpleTextMessage: React.FC<ThreadMessage> = (props) => {
) : (
<div
className={twMerge(
'message flex flex-col gap-y-2 font-medium leading-relaxed',
'message flex flex-col gap-y-2 leading-relaxed',
isUser ? 'whitespace-pre-wrap break-words' : 'p-4'
)}
>
Expand All @@ -279,7 +279,7 @@ const SimpleTextMessage: React.FC<ThreadMessage> = (props) => {
) : (
<div
className={twMerge(
'message max-width-[100%] flex flex-col gap-y-2 overflow-auto font-medium leading-relaxed',
'message max-width-[100%] flex flex-col gap-y-2 overflow-auto leading-relaxed',
isUser && 'whitespace-pre-wrap break-words'
)}
dangerouslySetInnerHTML={{ __html: parsedText }}
Expand Down

0 comments on commit 93fc228

Please sign in to comment.