refactoring to handle independant staff-member block

This commit is contained in:
Antoine M 2023-11-07 10:16:24 +01:00
parent 6dd7476e8f
commit 1905ffa495
2 changed files with 28 additions and 19 deletions

View File

@ -11,22 +11,3 @@
}
}
.homegrade-blocks-staff-member {
@apply flex items-center gap-6 !pl-0;
&__member-icon {
@apply bg-white shadowed rounded-2xl w-20 h-20;
@apply shrink-0;
img {
@apply max-w-full max-h-full h-auto;
}
}
&__member-informations {
@apply shrink flex flex-col content-center;
}
&__name {
@apply font-bold text-secondary text-lg;
}
&__position {
@apply !mb-0 font-medium pt-1;
}
}

View File

@ -0,0 +1,28 @@
.homegrade-blocks-staff-member {
@apply flex items-center gap-6 !pl-0;
&__member-icon {
@apply bg-white shadowed rounded-2xl w-20 h-20;
@apply shrink-0;
img {
@apply max-w-full max-h-full h-auto;
}
}
&__member-informations {
@apply shrink flex flex-col content-center;
}
&__name {
@apply font-bold text-secondary text-lg;
}
&__position {
@apply !mb-0 font-medium pt-1;
}
}
.homegrade-blocks-highlight--classic {
.homegrade-blocks-staff-member {
@apply my-5;
&__name {
@apply text-white;
}
}
}