Browse Source

feat(event): stop overflow of nonbreaking content

prevent non-breaking content from overflowing outside the container

this mainly applies to long links and long ids
master
DanConwayDev 2 years ago
parent
commit
9591d59ef0
No known key found for this signature in database
GPG Key ID: 68E15486D73F75E1
  1. 2
      src/lib/components/events/content/ParsedContent.svelte

2
src/lib/components/events/content/ParsedContent.svelte

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
$: fullContent = parseContent({ content, tags })
</script>
<div class="max-w-prose">
<div class="max-w-prose break-words">
{#each fullContent as part}
{#if isParsedNewLine(part)}
{#if part.value.length > 1}

Loading…
Cancel
Save