updating to handle custom lateral cover

This commit is contained in:
Antoine M 2023-11-06 13:34:58 +01:00
parent 159a61351a
commit 2f87099622

View File

@ -1,5 +1,17 @@
.homegrade-blocks-timeline { .homegrade-blocks-timeline {
@apply max-w-screen-xl mx-auto relative my-32; @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 { &--has-step-icons {
&:before { &:before {
@apply rounded-xl bg-secondary @apply rounded-xl bg-secondary
@ -14,6 +26,8 @@
width: 26px; width: 26px;
} }
} }
&--has-no-step-pictures {
}
.homegrade-blocks-timeline-step { .homegrade-blocks-timeline-step {
@apply grid grid-cols-3 gap-12 py-6; @apply grid grid-cols-3 gap-12 py-6;