refining with alignment handling

This commit is contained in:
Antoine M 2023-11-08 14:02:41 +01:00
parent 67e782fcd4
commit 1e36442191

View File

@ -1,5 +1,5 @@
.homegrade-blocks-figure { .homegrade-blocks-figure {
@apply text-center; @apply text-left;
&__figure { &__figure {
@apply font-bold !text-4xl text-slate-900 !mb-0; @apply font-bold !text-4xl text-slate-900 !mb-0;
} }
@ -8,8 +8,15 @@
} }
&__caption { &__caption {
p { p {
@apply !mb-0 mx-auto; @apply !mb-0 w-fit;
max-width: 250px; max-width: 250px;
} }
} }
} }
.homegrade-blocks-card--align-center .homegrade-blocks-figure {
@apply text-center;
}
.homegrade-blocks-card--align-right .homegrade-blocks-figure {
@apply text-right;
}