mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-07-04 00:24:29 -06: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 {
|
.CodeMirror {
|
||||||
|
box-sizing: border-box;
|
||||||
height: auto;
|
height: auto;
|
||||||
min-height: 300px;
|
min-height: 300px;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user