From 64b6599e0ee69de286c61688ef831bff94043b93 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Sat, 3 Dec 2016 12:12:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E9=AB=98=E4=BA=AEpre?= =?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 --- template/styl/index.styl | 3 --- template/styl/mixins/markdown.styl | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/template/styl/index.styl b/template/styl/index.styl index bf698b4892..ef70fb5371 100644 --- a/template/styl/index.styl +++ b/template/styl/index.styl @@ -272,7 +272,4 @@ a.github-corner { color #a3a3a3 } } - div.markdown-body pre{ - padding: 0.6em; - } } \ No newline at end of file diff --git a/template/styl/mixins/markdown.styl b/template/styl/mixins/markdown.styl index 9d00a6e591..808d43b318 100644 --- a/template/styl/mixins/markdown.styl +++ b/template/styl/mixins/markdown.styl @@ -90,8 +90,6 @@ div.markdown-body ul ul ol, ul ol ol, ol ul ol, ol ol ol list-style-type lower-alpha pre - overflow: auto - padding: 1em margin-top: 1.5em margin-bottom: 1.5em line-height: 1.3 @@ -107,6 +105,8 @@ div.markdown-body font-size 0.93em -webkit-overflow-scrolling touch code + padding: 0.7em + overflow: auto background-color transparent color inherit line-height 1.4