handling grid customisation in staff list
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2024-10-01 15:30:41 +02:00
parent 39b3b18876
commit 7b9a44840c

View File

@ -1,5 +1,5 @@
.homegrade-blocks-staff-list {
@apply max-w-screen-xl py-8;
@apply max-w-screen-xl py-8;
&__title {
@apply homegrade-title homegrade-title--secondary-small !mt-0;
}
@ -9,8 +9,20 @@
.section_titling + &__staff-list {
@apply pt-0;
}
.section-titling--has-no-subtitle {
@apply pb-0;
}
&__staff-list {
@apply grid md:grid-cols-2 xl:grid-cols-4 gap-x-6 gap-y-16 pt-16 list-none;
@apply grid md:grid-cols-2 gap-x-6 gap-y-16 pt-16 list-none;
&--grid-4 {
@apply xl:grid-cols-4;
}
&--grid-3 {
@apply xl:grid-cols-3;
}
li {
&:before {
content: none !important;