From 20d66d9a232b3b46fa7e62f4f92c8e30c1a86189 Mon Sep 17 00:00:00 2001 From: Igor Bondarenko Date: Tue, 14 Jul 2015 13:54:18 +0300 Subject: [PATCH] Fix instructions to change min-height If you set `min-height` to value less than default 300px, you'll need to set it on `.CodeMirror-scroll` also for it to work. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 922da8b..019d84d 100644 --- a/README.md +++ b/README.md @@ -85,8 +85,8 @@ var simplemde = new SimpleMDE({ To change the minimum height (before it starts auto-growing): ```CSS -.CodeMirror { - min-height: 300px; +.CodeMirror, .CodeMirror-scroll { + min-height: 200px; } ```