From b38d6ce5078dcc158b3c23e310e581972658c56c Mon Sep 17 00:00:00 2001 From: fantasticit Date: Mon, 13 Jun 2022 18:07:26 +0800 Subject: [PATCH] tiptap: remove margin of p in list --- packages/client/src/tiptap/core/styles/list.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/client/src/tiptap/core/styles/list.scss b/packages/client/src/tiptap/core/styles/list.scss index da410d4e..1bb465da 100644 --- a/packages/client/src/tiptap/core/styles/list.scss +++ b/packages/client/src/tiptap/core/styles/list.scss @@ -3,6 +3,10 @@ ol, ul { padding-left: 28px; + + p { + margin: 0; + } } li > ul, @@ -41,10 +45,6 @@ padding: 0; list-style: none; - p { - margin: 0; - } - li { position: relative; display: flex;