Update README

This commit is contained in:
Breezewish 2016-07-05 00:08:29 +08:00
parent b92e29d8cc
commit 965bc648f1

View File

@ -282,7 +282,8 @@ The list of actions that can be bound is the same as the list of built-in action
To change the minimum height (before it starts auto-growing): To change the minimum height (before it starts auto-growing):
```CSS ```CSS
.CodeMirror, .CodeMirror-scroll { .cm-s-simplemde,
.cm-s-simplemde .CodeMirror-scroll {
min-height: 200px; min-height: 200px;
} }
``` ```
@ -290,7 +291,7 @@ To change the minimum height (before it starts auto-growing):
Or, you can keep the height static: Or, you can keep the height static:
```CSS ```CSS
.CodeMirror { .cm-s-simplemde {
height: 300px; height: 300px;
} }
``` ```