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.
patch-ionaru
Boris Thuy 7 years ago committed by GitHub
parent 20eb8d6da8
commit 7fa15473ad

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

Loading…
Cancel
Save