From 8a1a17dc180b601b1049e491897f3dd0a8fed271 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Wed, 15 Nov 2023 16:38:28 +0100 Subject: [PATCH] handling section title alignment --- resources/css/blocks/content-box.css | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/resources/css/blocks/content-box.css b/resources/css/blocks/content-box.css index 55c08c2..391ae05 100644 --- a/resources/css/blocks/content-box.css +++ b/resources/css/blocks/content-box.css @@ -1,6 +1,6 @@ .homegrade-content-blocks-content-box { @apply card-large-content-container; - @apply !pt-20 !pb-24; + @apply !pt-20 !pb-24 !mb-0; > :first-child:not(.homegrade-blocks-box-monoblock--has-illustration) { @apply !mt-0; @@ -9,6 +9,12 @@ .section_titling { @apply my-8 py-0; } + .section_titling--left { + @apply self-start; + } + .section_titling--right { + @apply self-end; + } .section_titling__title { @apply !mt-0; } @@ -36,3 +42,7 @@ @apply !py-24 !mt-0 !mb-0; } } + +.homegrade-content-blocks-content-box + .homegrade-content-blocks-content-box { + @apply !mt-0; +}