mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2024-06-09 09:22:16 +02:00
Added word-wrap property to CodeMirror class
(Absurdly) long words would cause the live preview to scroll indefinitely on the x-axis. Adding a word-wrap property to the CodeMirror class and setting its value to break-word seems to fix this issue.
This commit is contained in:
parent
20eb8d6da8
commit
7fa15473ad
|
@ -8,6 +8,7 @@
|
|||
padding: 10px;
|
||||
font: inherit;
|
||||
z-index: 1;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.CodeMirror-scroll {
|
||||
|
|
Loading…
Reference in a new issue