mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-04-30 03:20:42 -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
|
// Basic editor styles
|
||||||
.ProseMirror {
|
.ProseMirror {
|
||||||
padding: .5rem .5rem .5rem 0;
|
padding: .5rem .5rem .5rem 0;
|
||||||
word-break: break-all;
|
overflow-wrap: break-word;
|
||||||
|
|
||||||
&:focus-within, &:focus {
|
&:focus-within, &:focus {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
|||||||
Reference in New Issue
Block a user