From e71f73f00003bf219ebef85e37a23bea092cc343 Mon Sep 17 00:00:00 2001 From: arvinxx Date: Thu, 14 Jan 2021 15:18:21 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20styles:=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=96=87=E7=AB=A0=E6=8E=92=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/contentScripts/yuque/typographic.less | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 81dd48a..7e6743e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "power-yuque", - "version": "1.0.0", + "version": "0.0.1", "description": "a chrome plugin to enhance yuque", "private": true, "author": "Arvin Xu(arvinx@foxmail.com)", diff --git a/src/contentScripts/yuque/typographic.less b/src/contentScripts/yuque/typographic.less index 02736a3..ef2382d 100644 --- a/src/contentScripts/yuque/typographic.less +++ b/src/contentScripts/yuque/typographic.less @@ -1,5 +1,6 @@ // 注入文章样式 -#content { +#content, +.lake-max-editor-content { p { margin-bottom: 8px; } @@ -10,8 +11,8 @@ h5, h6 { position: relative; - margin-top: 1rem; - margin-bottom: 1rem; + margin-top: 8px; + margin-bottom: 8px; font-weight: bold; line-height: 1.4; cursor: text; @@ -19,5 +20,10 @@ h2 { border-bottom: 1px solid #eee; padding-bottom: 4px; + margin-bottom: 16px; + } + + li { + margin-bottom: 8px; } }