style: prevent node detail overflows

This commit is contained in:
AnotiaWang
2025-02-27 09:35:39 +08:00
parent 71d1d6dda3
commit e583b92cbf
2 changed files with 5 additions and 7 deletions

View File

@ -44,7 +44,7 @@
</p>
<p
v-if="node.researchGoal"
class="prose max-w-none dark:prose-invert"
class="prose max-w-none dark:prose-invert break-words"
v-html="marked(node.researchGoal, { gfm: true })"
/>
@ -86,7 +86,7 @@
/>
<p
v-for="(learning, index) in node.learnings"
class="prose max-w-none dark:prose-invert"
class="prose max-w-none dark:prose-invert break-words"
:key="index"
v-html="marked(`- ${learning}`, { gfm: true })"
/>