From 7b9a44840c98b6aa299cf811c4ced7946a0d422e Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 1 Oct 2024 15:30:41 +0200 Subject: [PATCH] handling grid customisation in staff list --- resources/css/blocks/staff-list.css | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/resources/css/blocks/staff-list.css b/resources/css/blocks/staff-list.css index f4949df..6f3e174 100644 --- a/resources/css/blocks/staff-list.css +++ b/resources/css/blocks/staff-list.css @@ -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;