mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-03-09 07:13:35 -05:00
fix(editor): use overflow-wrap instead of word-break for text wrapping
word-break: break-all breaks text at any character, causing mid-word breaks even when the word could fit on the next line. overflow-wrap: break-word wraps at word boundaries first and only breaks mid-word when a single word exceeds the container width.
This commit is contained in:
@@ -933,7 +933,7 @@ watch(
|
||||
// Basic editor styles
|
||||
.ProseMirror {
|
||||
padding: .5rem .5rem .5rem 0;
|
||||
word-break: break-all;
|
||||
overflow-wrap: break-word;
|
||||
|
||||
&:focus-within, &:focus {
|
||||
box-shadow: none;
|
||||
|
||||
Reference in New Issue
Block a user