2
0
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:
Boris Thuy 2017-02-03 03:19:22 +01:00 committed by GitHub
parent 6abda7ab68
commit f5c62f70e8

View File

@ -1,4 +1,5 @@
.CodeMirror {
box-sizing: border-box;
height: auto;
min-height: 300px;
border: 1px solid #ddd;