From 4f592d7a6b96e900753fb274416670d294df5b89 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 7 Nov 2023 10:21:27 +0100 Subject: [PATCH] refining spacing between blocks --- resources/css/editor-content/gutenberg.css | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/resources/css/editor-content/gutenberg.css b/resources/css/editor-content/gutenberg.css index d31b92a..e342633 100644 --- a/resources/css/editor-content/gutenberg.css +++ b/resources/css/editor-content/gutenberg.css @@ -73,6 +73,13 @@ article > *:not(.entry-content, .chapter-header-block), h3 { @apply font-bold text-2xl mt-16 mb-4; } + h4 { + @apply font-bold text-xl mt-6 mb-3; + } + + p { + @apply my-3 p-0; + } p, ul, @@ -83,8 +90,10 @@ article > *:not(.entry-content, .chapter-header-block), @apply no-underline; } } - - @apply mb-8; + } + ul, + ol { + @apply mt-4 mb-8; } ol { @apply list-decimal list-inside; @@ -102,4 +111,8 @@ article > *:not(.entry-content, .chapter-header-block), margin-right: 14px; margin-top: 9px; } + p + ol, + p + ul { + @apply mt-0; + } }