mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2024-06-09 09:22:16 +02:00
Added box-sizing to the CodeMirror class
The editor view in Side By Side does not wrap lines properly (ie. they sometimes overflow beneath the live preview). Adding box-sizing property seems to fix this issue.
This commit is contained in:
parent
6abda7ab68
commit
f5c62f70e8
|
@ -1,4 +1,5 @@
|
|||
.CodeMirror {
|
||||
box-sizing: border-box;
|
||||
height: auto;
|
||||
min-height: 300px;
|
||||
border: 1px solid #ddd;
|
||||
|
@ -325,4 +326,4 @@
|
|||
|
||||
.CodeMirror .CodeMirror-placeholder {
|
||||
opacity: .5;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue