feat: use break anywhere (#10698)

Ref:
https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-wrap#anywhere

Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
This commit is contained in:
Shivam Mishra
2025-01-16 15:49:39 +05:30
committed by GitHub
parent 0b4028b95d
commit 79997fd86f
2 changed files with 2 additions and 4 deletions

View File

@@ -24,8 +24,5 @@ const formattedContent = computed(() => {
</script>
<template>
<span
v-dompurify-html="formattedContent"
class="prose prose-bubble break-words"
/>
<span v-dompurify-html="formattedContent" class="prose prose-bubble" />
</template>

View File

@@ -53,6 +53,7 @@ const tailwindConfig = {
marginTop: '0',
},
},
overflowWrap: 'anywhere',
'br + br': {
display: 'none',