adding alignment handling feature

This commit is contained in:
Antoine M 2023-11-08 14:01:59 +01:00
parent 28a77dc78f
commit b384ebdeca

View File

@ -1,10 +1,23 @@
.homegrade-blocks-card { .homegrade-blocks-card {
@apply bg-white w-full p-8 rounded-3xl @apply bg-white w-full p-8 rounded-3xl;
flex
flex-col
items-center
justify-center;
*:first-child { *:first-child {
@apply mt-0; @apply mt-0;
} }
&--align-center {
@apply text-center
flex
flex-col
items-center
justify-center;
}
&--align-left {
@apply text-left;
}
&--align-right {
@apply text-right
flex
flex-col
items-end
justify-center;
}
} }