Skip to content

Commit

Permalink
Fix overflow again
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Staab committed Feb 14, 2025
1 parent 1cd3f16 commit 63b8b7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/partials/MediaLinkPreview.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
<div class="h-px bg-neutral-600" />
{/if}
{#if title}
<div class="flex flex-col bg-white px-4 py-2 text-black">
<strong class="overflow-hidden text-ellipsis whitespace-nowrap">{title}</strong>
<div class="flex flex-col bg-white px-4 py-2 text-black" style="overflow-wrap: anywhere">
<strong>{title}</strong>
<small>{ellipsize(description, 140)}</small>
</div>
{/if}
Expand Down

0 comments on commit 63b8b7f

Please sign in to comment.