Skip to content

Commit

Permalink
fix: handle long word without space to avoid right panel disappears
Browse files Browse the repository at this point in the history
  • Loading branch information
urmauur committed Jun 16, 2024
1 parent b4bbe2a commit f3d6f9c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ const SimpleTextMessage: React.FC<ThreadMessage> = (props) => {
)}
</div>

<div className={twMerge('w-full')}>
<div className={twMerge('w-full', !isUser && 'break-all')}>
<>
{props.content[0]?.type === ContentType.Image && (
<div className="group/image relative mb-2 inline-flex cursor-pointer overflow-hidden rounded-xl">
Expand Down

0 comments on commit f3d6f9c

Please sign in to comment.