From c5de6c85a72a1b619ee1624b5c1e62224c537597 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Mon, 23 Sep 2019 17:09:24 +0800 Subject: [PATCH] Modify table styles. --- template/styl/mixins/markdown.styl | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/template/styl/mixins/markdown.styl b/template/styl/mixins/markdown.styl index d9e61c88801..82789dad48a 100644 --- a/template/styl/mixins/markdown.styl +++ b/template/styl/mixins/markdown.styl @@ -230,5 +230,16 @@ blockquote>:last-child { margin-bottom: 0; } - + table { + border-spacing: 0; + border-collapse: collapse; + td, th { + padding: 6px 13px; + border: 1px solid #dfe2e5; + } + tr { + background-color: #fff; + border-top: 1px solid #c6cbd1; + } + } } \ No newline at end of file