handling section title alignment

This commit is contained in:
Antoine M 2023-11-15 16:38:28 +01:00
parent f13677594d
commit 8a1a17dc18

View File

@ -1,6 +1,6 @@
.homegrade-content-blocks-content-box { .homegrade-content-blocks-content-box {
@apply card-large-content-container; @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) { > :first-child:not(.homegrade-blocks-box-monoblock--has-illustration) {
@apply !mt-0; @apply !mt-0;
@ -9,6 +9,12 @@
.section_titling { .section_titling {
@apply my-8 py-0; @apply my-8 py-0;
} }
.section_titling--left {
@apply self-start;
}
.section_titling--right {
@apply self-end;
}
.section_titling__title { .section_titling__title {
@apply !mt-0; @apply !mt-0;
} }
@ -36,3 +42,7 @@
@apply !py-24 !mt-0 !mb-0; @apply !py-24 !mt-0 !mb-0;
} }
} }
.homegrade-content-blocks-content-box + .homegrade-content-blocks-content-box {
@apply !mt-0;
}