Fix wrapping of wide notes
This commit is contained in:
parent
122c11bc96
commit
e5ce31b30c
2 changed files with 5 additions and 2 deletions
|
|
@ -13,7 +13,6 @@ variations or spellings are incorrect.
|
||||||
|
|
||||||
## Todos
|
## Todos
|
||||||
|
|
||||||
- TODO Fix wide notes adding horizontal scroll bar
|
|
||||||
- TODO Add history widget to top of screen
|
- TODO Add history widget to top of screen
|
||||||
- TODO Show pinned message at bottom of screen
|
- TODO Show pinned message at bottom of screen
|
||||||
- TODO Gray out unusable sibling buttons when hovering over anchor note
|
- TODO Gray out unusable sibling buttons when hovering over anchor note
|
||||||
|
|
|
||||||
|
|
@ -219,7 +219,11 @@ async function onInsertEditorCopy(): Promise<void> {
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
v-else-if="note && note.text.trim().length > 0"
|
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 }}
|
{{ note.text }}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue