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 authored and louis-jan committed Jul 12, 2024
1 parent 05570ea commit 8077eb5
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 8077eb5

Please sign in to comment.