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:
Boris Thuy 2017-02-03 03:46:09 +01:00 committed by GitHub
parent 20eb8d6da8
commit 7fa15473ad

View file

@ -8,6 +8,7 @@
padding: 10px;
font: inherit;
z-index: 1;
word-wrap: break-word;
}
.CodeMirror-scroll {