From 0c810a75caa973e10e1f5d9b3b8a819466c6fef3 Mon Sep 17 00:00:00 2001 From: Nonimart Date: Wed, 5 Nov 2025 11:11:31 +0100 Subject: [PATCH] STYLE Adjusting margins for headings in columns and resetting margins for heading sequences --- resources/css/editor-content/gutenberg.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/resources/css/editor-content/gutenberg.css b/resources/css/editor-content/gutenberg.css index 2da4d60..ce6aa32 100644 --- a/resources/css/editor-content/gutenberg.css +++ b/resources/css/editor-content/gutenberg.css @@ -72,6 +72,9 @@ article > *:not(.entry-content, .chapter-header-block), @apply mt-0; } } +.wp-block-columns:has(.wp-block-column > h2:first-child, .wp-block-column > h3:first-child) { + @apply mt-10; +} .wp-block-image { img { @@ -119,6 +122,13 @@ article > *:not(.entry-content, .chapter-header-block), @apply my-3 p-0; } + h2 + h3, + h3 + h4, + h4 + h5, + h5 + h6 { + @apply mt-0; + } + p, ul.wp-block-list, ol {