diff --git a/client/components/editor/editor-markdown.vue b/client/components/editor/editor-markdown.vue index 142bfe7c..98359dac 100644 --- a/client/components/editor/editor-markdown.vue +++ b/client/components/editor/editor-markdown.vue @@ -825,6 +825,10 @@ $editor-height-mobile: calc(100vh - 112px - 16px); @include until($tablet) { height: $editor-height-mobile; } + + p.line { + overflow-wrap: break-word; + } } } @@ -915,6 +919,10 @@ $editor-height-mobile: calc(100vh - 112px - 16px); } } + .CodeMirror-wrap pre.CodeMirror-line, .CodeMirror-wrap pre.CodeMirror-line-like { + word-break: break-word; + } + .CodeMirror-focused .cm-matchhighlight { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAFklEQVQI12NgYGBgkKzc8x9CMDAwAAAmhwSbidEoSQAAAABJRU5ErkJggg==); background-position: bottom;