mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-07-23 09:54: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