From 2f8709962282400f1b03865bbed1c91452502ad8 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Mon, 6 Nov 2023 13:34:58 +0100 Subject: [PATCH] updating to handle custom lateral cover --- resources/css/blocks/timeline.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/resources/css/blocks/timeline.css b/resources/css/blocks/timeline.css index 83714dc..6e2f760 100644 --- a/resources/css/blocks/timeline.css +++ b/resources/css/blocks/timeline.css @@ -1,5 +1,17 @@ .homegrade-blocks-timeline { @apply max-w-screen-xl mx-auto relative my-32; + &__lateral-cover { + @apply max-h-96 h-auto mx-auto; + } + &--has-lateral-cover { + @apply grid grid-cols-3 gap-12; + .homegrade-blocks-timeline__innercontent { + @apply col-span-2; + } + .homegrade-blocks-timeline-step { + @apply !block; + } + } &--has-step-icons { &:before { @apply rounded-xl bg-secondary @@ -14,6 +26,8 @@ width: 26px; } } + &--has-no-step-pictures { + } .homegrade-blocks-timeline-step { @apply grid grid-cols-3 gap-12 py-6;