Fix wrapping of wide notes

This commit is contained in:
Joscha 2025-02-15 13:37:35 +01:00
parent 122c11bc96
commit e5ce31b30c
2 changed files with 5 additions and 2 deletions

View file

@ -219,7 +219,11 @@ async function onInsertEditorCopy(): Promise<void> {
/>
<div
v-else-if="note && note.text.trim().length > 0"
class="select-auto whitespace-pre-wrap px-1"
class="select-auto whitespace-pre-wrap text-wrap px-1"
style="
/* TODO Check https://github.com/tailwindlabs/tailwindcss/pull/12128 */
overflow-wrap: anywhere;
"
>
{{ note.text }}
</div>