mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2025-07-30 05:14:28 -06: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…
x
Reference in New Issue
Block a user