diff --git a/README.md b/README.md index eef4675..25209f1 100644 --- a/README.md +++ b/README.md @@ -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): ```CSS -.CodeMirror, .CodeMirror-scroll { +.cm-s-simplemde, +.cm-s-simplemde .CodeMirror-scroll { min-height: 200px; } ``` @@ -290,7 +291,7 @@ To change the minimum height (before it starts auto-growing): Or, you can keep the height static: ```CSS -.CodeMirror { +.cm-s-simplemde { height: 300px; } ```