Skip to content

Commit

Permalink
Fix overflow issue in feed embed description
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelfan committed Feb 6, 2024
1 parent 188e680 commit 3a5a7aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/dataDisplay/postEmbed/FeedEmbed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default function FeedEmbed(props: Props) {
</div>
</div>
{feed.description && (
<p className="line-clamp-3 break-words text-neutral-700">
<p className="line-clamp-3 whitespace-pre-wrap text-neutral-700 [overflow-wrap:anywhere]">
{feed.description}
</p>
)}
Expand Down

0 comments on commit 3a5a7aa

Please sign in to comment.