From 596ed0c4f230ed2f0f50c08d29279767e5d4f26a Mon Sep 17 00:00:00 2001 From: Antoine M Date: Wed, 15 May 2024 16:06:41 +0200 Subject: [PATCH] handling h2 --- resources/css/blocks/highlight.css | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/resources/css/blocks/highlight.css b/resources/css/blocks/highlight.css index 2d81d70..7ae1293 100644 --- a/resources/css/blocks/highlight.css +++ b/resources/css/blocks/highlight.css @@ -3,7 +3,6 @@ &__titling { @apply sm:flex items-center md:mb-8; - .icon { @apply mb-2 sm:mb-0; } @@ -25,10 +24,17 @@ &__block-title { @apply !pb-0 !leading-tight pt-4 md:pt-0; } + &__content { @apply !pt-3 xl:!pt-0 flex flex-col-reverse xl:flex-row items-start gap-x-8 gap-y-2; + h2 { + @apply !text-2xl; + } .homegrade-blocks-highlight__content__innerblocks { @apply w-full; + > *:first-child { + @apply !mt-0; + } } } &__logo { @@ -61,6 +67,9 @@ .icon { @apply bg-secondary; } + .homegrade-blocks-custom-heading.has-icon::before { + @apply !bg-secondary; + } .wp-block-button__link { @apply cta cta--secondary; } @@ -95,6 +104,9 @@ wp-block-button__link ul li:before { @apply bg-secondary; } + .homegrade-blocks-custom-heading.has-icon::before { + @apply !bg-secondary; + } .homegrade-blocks-highlight__block-title, *::marker, h2,