Skip to content

Commit

Permalink
Add link description to external embeds
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelfan committed Oct 30, 2024
1 parent dbf560e commit 13aa434
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/dataDisplay/postEmbed/ExternalEmbed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ export default function ExternalEmbed(props: Props) {
<span className="text-skin-base font-medium [overflow-wrap:anywhere]">
{embed.external.title}
</span>
{embed.external.description && (
<span className="text-skin-secondary text-sm">
{embed.external.description}
</span>
)}
</div>
</Link>
</article>
Expand Down

0 comments on commit 13aa434

Please sign in to comment.