From 4b342e330b27128e0d6a16703b82c149f23bc6de Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Sat, 4 Jul 2015 03:53:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8Fmarkdown=E9=A2=84=E8=A7=88?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/default/css/MDEditor.min.css | 4 ++-- themes/default/stylus/MDEditor.styl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/themes/default/css/MDEditor.min.css b/themes/default/css/MDEditor.min.css index 258a26c..a2031e8 100644 --- a/themes/default/css/MDEditor.min.css +++ b/themes/default/css/MDEditor.min.css @@ -86,7 +86,7 @@ overflow: hidden; font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif; font-size: 16px; - line-height: 1.6; + line-height: 1.4em; } .markdown_body>*:first-child { margin-top: 0 !important; @@ -141,7 +141,7 @@ } .markdown_body ul, .markdown_body ol { - padding-left: 2em; + padding-left: 1.4em; } .markdown_body pre { padding: 16px; diff --git a/themes/default/stylus/MDEditor.styl b/themes/default/stylus/MDEditor.styl index b69546b..df1ffed 100644 --- a/themes/default/stylus/MDEditor.styl +++ b/themes/default/stylus/MDEditor.styl @@ -75,7 +75,7 @@ min-height=200px overflow: hidden font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif font-size: 16px - line-height: 1.6 + line-height: 1.4em &>*:first-child margin-top: 0 !important @@ -108,7 +108,7 @@ min-height=200px margin-top: 0; margin-bottom: 16px ul,ol - padding-left: 2em + padding-left: 1.4em pre padding: 16px overflow: auto